61 Commits

Author SHA1 Message Date
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
Sergey Malenkov
02a6cd7914 4778988: CompoundBorder.isBorderOpaque() has incorrect documentation
Reviewed-by: peterz, rupashka
2008-07-24 14:51:13 +04:00
Mikhail Lapshin
c3732ffc5d 6725409: Unable to localize JInternalFrame system menu during run-time
Use of the static final constants replaced by direct calls of UIManager.getString().

Reviewed-by: alexp
2008-07-24 14:34:02 +04:00
Dmitri Trembovetski
bd5f86fee1 6728492: typo in copyrights in some files touched by the d3d pipeline port
Reviewed-by: prr
2008-07-22 11:24:32 -07:00
Mikhail Lapshin
a44852b8fe 6607130: REGRESSION: JComboBox cell editor isn't hidden if the same value is selected with keyboard
JComboBox cell editor now hides if the same value is selected with keyboard

Reviewed-by: peterz, alexp
2008-07-21 19:58:43 +04:00
Dmitri Trembovetski
e4c9db984f 6725214: D3D: forward-port the new pipeline from 6u10
Forward port of the new Direct3D 9 rendering pipeline from 6u10. Also includes fixes for 6690659 6689025 6658398 6596234.

Reviewed-by: campbell, prr
2008-07-18 10:48:44 -07:00
Sergey Malenkov
e91ae90285 6552812: Add HSL tab to JColorChooser
Reviewed-by: peterz, avu
2008-07-18 18:26:22 +04:00
Mikhail Lapshin
1dce7af76f 6647340: Minimized JInternalFrame icons appear in incorrect positions if the main frame is resized
Now BasicInternalFrameUI and BasicDesktopIconUI both recalculate frame icon position

Reviewed-by: peterz
2008-07-07 16:56:23 +04:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Igor Kushnirskiy
762ea5875b 6623943: javax.swing.TimerQueue's thread occasionally fails to start
Reviewed-by: alexp
2008-06-23 15:21:37 -04:00
Pavel Porvatov
8f7aabf955 5035693: "Open" button should be a default one in JFileChooser under Windows XP LAF
The "Open" button was made default button of FileChooser dialog windows

Reviewed-by: loneid, peterz
2008-06-06 13:30:20 +04:00
Pavel Porvatov
9a2ae13639 6688110: JSlider has incorrect javadoc for the setValueIsAdjusting method
The sentence about ChangeEvents generation was removed

Reviewed-by: peterz
2008-06-05 13:30:41 +04:00
Pavel Porvatov
86031542b2 6571802: 'Shared Documents' listed in-between C,D drives in the JFileChooser, does not match with native
Now sun.awt.shell.ShellFolder#sort uses system sorting instead of alphabetical

Reviewed-by: loneid, peterz
2008-06-04 18:48:42 +04:00
Pavel Porvatov
cda549c2c2 4987336: JSlider doesn't show label's animated icon
JSlider registers as an image observer of label's icon

Reviewed-by: alexp
2008-06-03 18:00:04 +04:00
Pavel Porvatov
2ae586bafc 6709530: There are unnecessary code in slider classes, such as in JSlider and SliderUIs
Removed unnecessary code like unused variables, castings, imports etc

Reviewed-by: peterz
2008-06-02 19:08:13 +04:00
Mikhail Lapshin
44b0d9abbe 6694823: A popup menu can be partially hidden under the task bar in applets
In applets popup menu is shifted above the task bar

Reviewed-by: peterz
2008-05-26 17:58:09 +04:00
Peter Zhelezniakov
4b3a6a58b4 6606443: Infinite loop in FlowView.layout when using HTML tables in JEditorPane
FlowStrategy.damageStart now tracks position changes

Reviewed-by: gsm
2008-05-22 15:06:22 +04:00
Mikhail Lapshin
b2827492a6 Merge 2008-05-14 07:53:12 -07:00
Yuri Nesterenko
62c49d12f7 Merge 2008-05-13 21:58:46 -07:00
Sergey Malenkov
c2072462fb 4935607: RFE: LTP: Should be possible to set the TRANSIENT attribute of propertiies to FALSE
Add the Transient annotation and support it (JSR-273)

Reviewed-by: peterz, loneid
2008-05-07 23:20:32 +04:00
Sergey Malenkov
99f494c8ee 6348456: BasicColorChooserUI ignores JColorChooser selection model changes
Some methods are moved from AbstractColorChooserPanel to BasicColorChooserUI

Reviewed-by: peterz, alexp
2008-05-07 21:54:03 +04:00
Sergey Malenkov
cc169e2b9d 6625450: javax.swing.border.TitledBorder.getBaseline() doesn't throw IAE when width is < 0
Necessary check is added

Reviewed-by: peterz, alexp
2008-05-07 16:08:31 +04:00
Yuri Nesterenko
55c1fa19a4 Merge 2008-05-04 07:05:42 -07:00
Pavel Porvatov
f8f23e46ab 6688203: Memory leak and performance problems in the method getFileSystemView of FileSystemView
Removed from the "FileSystemView#getFileSystemView" method creation of a new listener and adding it to UIManager

Reviewed-by: peterz
2008-05-01 14:47:50 +04:00
Mikhail Lapshin
e7c50a0d25 Merge 2008-04-30 08:23:31 -07:00
Mikhail Lapshin
fc405f63c8 Merge 2008-04-30 07:03:08 -07:00
Mikhail Lapshin
92019e467c 6690791: Even more ClassCasetException with TrayIcon
Event.getComponent() is used unstead of (Component)event.getSource()

Reviewed-by: peterz
2008-04-30 13:19:26 +04:00
Pavel Porvatov
f09d6c6ac3 6524424: JSlider Clicking In Tracks Behavior Inconsistent For Different Tick Spacings
JSlider should use minimal tick space in SnapToTicks mode

Reviewed-by: peterz
2008-04-30 12:32:05 +04:00