88 Commits

Author SHA1 Message Date
Peter Zhelezniakov
8514d49a21 6741426: ClassCastException from ComboBoxEditableState (Nimbus LaF) in JDK 1.6.0_10 RC
Reviewed-by: rupashka
2009-05-14 18:12:13 +04:00
Yuri Nesterenko
33484a2710 Merge 2009-04-28 13:41:11 -07:00
Peter Zhelezniakov
c738ebdc67 6591875: Nimbus Swing Look and Feel
Reviewed-by: jasper, ohair
2009-04-25 21:17:50 +04:00
Lana Steuck
1c53c596df Merge 2009-04-14 04:21:02 -07:00
Peter Zhelezniakov
406119889a 6740974: api/javax_swing/PopupFactory/index.html#Ctor[PopupFactory2002] fails with NPE
Reviewed-by: malenkov
2009-04-07 12:40:58 +04:00
Yuri Nesterenko
51ef95c396 6680988: KeyEvent is still missing VK values for many keyboards
2 new methods and some fields added to KeyEvent, plus hash of constants introduced

Reviewed-by: art
2009-03-27 12:01:24 +03:00
Peter Zhelezniakov
1a1db06a37 4783068: Components with HTML text should gray out the text when disabled
Views fixed to use different colors when container is disabled

Reviewed-by: gsm, rupashka
2009-03-23 16:41:47 +03:00
Peter Zhelezniakov
4ce28ac8a0 6653395: Default LAF is set to CrossPlatformLookAndFeel not SystemLookAndFeel
Swing now checks AppContext properties to determine default LAF name. This is needed for plugin to be able to set default LAF w/o loading Swing classes.

Reviewed-by: alexp, loneid
2009-03-23 14:09:32 +03:00
Pavel Porvatov
30beae5a8c 6738668: JFileChooser cannot be created under SecurityManager
Reviewed-by: peterz
2009-03-17 16:06:14 +03:00
Peter Zhelezniakov
e6ea9147f9 6815767: Bad parameter when calling another method in the class SynthTabbedPaneUI
Reviewed-by: alexp, rupashka
2009-03-13 19:25:17 +03:00
Pavel Porvatov
93c4a7033c 6491795: COM should be initialized for Shell API calls in ShellFolder2.cpp
Reviewed-by: peterz, loneid
2009-03-12 14:00:26 +03:00
Pavel Porvatov
95a3c4a81f 6794831: Infinite loop while painting ticks on Slider with maximum=MAX_INT
Reviewed-by: malenkov
2009-02-26 11:44:43 +03:00
Lana Steuck
2ba8da1975 Merge 2009-02-23 11:16:04 -08:00
Lana Steuck
ddc1549079 Merge 2009-02-22 12:26:39 -08:00
Artem Ananiev
b8af3d5019 6799345: JFC demos threw exception in the Java Console when applets are closed
Reviewed-by: alexp, peterz
2009-02-12 14:19:06 +03:00
Artem Ananiev
e67e7cb5a7 6633275: Need to support shaped/translucent windows
Forward-port from 6u14, no public API is introduced

Reviewed-by: anthony, dcherepanov
2009-02-11 17:07:06 +03:00
Lana Steuck
f9c7b83d22 Merge 2009-02-10 12:26:12 -08:00
Peter Zhelezniakov
a21476939e 6801769: 6588003 should be backed out from jdk7
Reviewed-by: alexp
2009-02-05 19:16:13 +03:00
Peter Zhelezniakov
06d5f1e07f 6588003: LayoutQueue shares mutable implementation across AppContexts
DefaultQueue property is made per-AppContext

Reviewed-by: alexp
2009-02-04 18:48:24 +03:00
Anthony Petrov
13c271c69b 6797195: Forward-port enhancements for hw/lw mixing from 6u12 to 7
Reviewed-by: art, dcherepanov
2009-02-04 11:58:13 +03:00
Lana Steuck
6701ca1be7 Merge 2009-01-29 09:25:47 -08:00
Pavel Porvatov
798600a691 6794836: BasicSliderUI throws NullPointerExc when JSlider maximum is Integer.MAX_VALUE
Reviewed-by: peterz
2009-01-29 19:06:29 +03:00
Sergey Malenkov
606b473fb5 4222508: JColorChooser ignores setEnabled() function call
Reviewed-by: peterz, rupashka
2009-01-23 18:31:08 +03:00
Sergey Malenkov
9330abadea 4864117: RFE: Make XMLDecoder API more reusable
Reviewed-by: peterz, loneid
2008-12-22 17:42:49 +03:00
Xiomara Jayasena
cc8641d33a 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:25 -08:00
Florian Brunner
8242c2b3b6 6776095: Code improvement and warnings removing from swing packages
Reviewed-by: malenkov
2008-11-27 17:55:36 +03:00
Pavel Porvatov
5a8c6c3bf7 6776856: Code with useShellFolder field shuold be simplify
Reviewed-by: peterz
2008-11-26 19:38:46 +03:00
Pavel Porvatov
e7c2dc0b7a 6560349: REGRESSION :folder having ".lnk" in the name can not be opened by 5.0 and later versions
Reviewed-by: alexp
2008-11-26 19:08:41 +03:00
Pavel Porvatov
466eda6ee4 6698013: JFileChooser can no longer navigate non-local file systems
ShellFolder is used only if possible

Reviewed-by: peterz
2008-11-25 16:42:10 +03:00
Lana Steuck
eb292c9219 Merge 2008-10-17 15:01:10 -07:00
Roman Kennke
5c08fa0e79 6759311: RepaintManager casts Tookit to SunToolkit without instanceof check
Check type of Toolkit before casting.

Reviewed-by: alexp
2008-10-15 15:55:19 +02:00
Lana Steuck
297ae75019 Merge 2008-09-24 08:14:37 -07:00
Pavel Porvatov
46533a9546 6587742: filling half of a JSlider's track is no longer optional
Now OceanTheme uses the JSlider.isFilled property like other themes

Reviewed-by: alexp
2008-09-10 19:16:14 +04:00
Pavel Porvatov
4a2921184f 6278700: JSlider created with BoundedRangeModel fires twice when changed
Removed second registration of listener

Reviewed-by: peterz
2008-09-04 15:15:24 +04:00
Peter Zhelezniakov
803014e138 5062055: JEditorPane HTML: HR-tag with attribute size=1px causes NumberFormatException
Wrapped parseInt() with try/catch

Reviewed-by: gsm
2008-09-01 15:21:46 +04:00
Pavel Porvatov
7861fdb862 6742358: MetalSliderUI paint wrong vertical disabled filled JSlider for DefaultMetalTheme
Corrected the method MetalSliderUI.paintTrack

Reviewed-by: malenkov
2008-08-29 18:58:17 +04:00
Pavel Porvatov
168e2b0ff2 6351074: JFileChooser removes leading space in filename
Removed trimming of leading spaces in filename

Reviewed-by: alexp
2008-08-27 20:49:35 +04:00
Pavel Porvatov
8bb4a8ec15 6727662: Code improvement and warnings removing from swing packages
Removed unnecessary castings and other warnings

Reviewed-by: malenkov
2008-08-26 15:12:54 +04:00
Mikhail Lapshin
b6db0aad85 6736649: test/closed/javax/swing/JMenuItem/6458123/ManualBug6458123.java fails on Linux
Now text bearings are taken into account when labelRect width is calculated

Reviewed-by: alexp
2008-08-26 12:16:23 +04:00
Artem Ananiev
f5cc909878 6708392: Provide internal API to create OverrideRedirect windows, XToolkit
SunToolkit.setOverrideRedirect() method is introduced

Reviewed-by: mlapshin, yan
2008-08-14 12:58:51 +04:00
Lana Steuck
189c383d48 Merge 2008-08-12 17:59:58 -07:00
Mikhail Lapshin
aeb1b5f21c 6579243: Windows, GTK: Internal frame title is drawn wrong if the frame has RTL orientation
Added right-to-left code branches to WindowsInternalFrameTitlePane and Metacity classes

Reviewed-by: alexp
2008-08-11 16:49:46 +04:00
Pavel Porvatov
3b50ea9003 6604281: NimbusL&F :Regression in Focus traversal in JFileChooser in pit build
Fixed calculation of preferred size in SynthButtonUI

Reviewed-by: loneid, peterz
2008-08-11 16:39:17 +04:00
Mikhail Lapshin
f092fd7939 6584657: GTK Look and Feel: Bugs in menu item layout
Reviewed-by: peterz, alexp
2008-08-08 20:49:26 +04:00
Igor Kushnirskiy
f7be937495 6608456: need API to define RepaintManager per components hierarchy
Reviewed-by: alexp
2008-07-25 11:32:12 -04:00
Florian Brunner
eba63ce088 6727661: Code improvement and warnings removing from the swing/plaf packages
Removed unnecessary castings and other warnings

Reviewed-by: alexp
2008-07-25 17:50:36 +04:00
Mikhail Lapshin
b2066f470b 6727829: BasicLabelUI rendering fails if multiple AppContexts exist in same java JVM
Several private static variables made local

Reviewed-by: alexp
2008-07-25 14:14:30 +04:00
Lana Steuck
025ca5d66a Merge 2008-07-24 21:12:50 -07:00
Sergey Malenkov
95dc5f8473 6707406: BasicColorChooserUI tests throw NPE while getColorSelectionModel if isPropertyChanged() returns true
Reviewed-by: peterz, rupashka
2008-07-24 17:30:59 +04:00
Florian Brunner
8ad3454b18 6722802: Code improvement and warnings removing from the javax.swing.text package
Removed unnecessary castings and other warnings

Reviewed-by: peterz
2008-07-24 16:43:36 +04:00