44 Commits

Author SHA1 Message Date
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
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
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
Pavel Porvatov
f149163508 6614972: JSlider value should not change on right-click
WindowsSliderUI won't use the right mouse button for change slider position

Reviewed-by: alexp
2008-04-29 17:48:01 +04:00
Pavel Porvatov
9d90ce5781 4252173: Inability to reuse the HorizontalSliderThumbIcon
Removed casting component to JSlider from MetalIconFactory

Reviewed-by: alexp
2008-04-28 17:17:45 +04:00
Mikhail Lapshin
2b028bddc7 Merge 2008-04-24 05:58:57 -07:00
Mikhail Lapshin
8dff6c648b 6691503: Malicious applet can show always-on-top popup menu which has whole screen size
The fix for 6675802 is replaced by a try-catch clause that catches SequrityExceptions for applets.

Reviewed-by: alexp
2008-04-23 18:06:34 +04:00
Mikhail Lapshin
7cc4f58228 6675802: Regression: heavyweight popups cause SecurityExceptions in applets
The problem code in Popup class is surrounded by AccessController.doPrivileged()

Reviewed-by: alexp
2008-04-18 18:21:02 +04:00
Mikhail Lapshin
697620a8bb 6612531: api/javax_swing/ScrollPaneLayout/index.html#xxxLayoutSize (ScrollPaneLayout2024) throws NPE
Added a check for the NPE

Reviewed-by: alexp
2008-04-14 16:41:00 +04:00
Tim Bell
a996482e5d Merge 2008-04-07 23:27:43 -07:00
Andrei Dmitriev
0e36651f33 6613529: Avoid duplicate object creation within JDK packages
Avoid using constructors when unique values are not necessary

Reviewed-by: volk, igor, peterz
2008-04-07 14:53:51 +04:00
Peter Zhelezniakov
f3cc321cb2 4765383: JTextArea.append(String) not thread safe
Several swing.text methods are not marked thread-safe anymore.

Reviewed-by: gsm
2008-04-07 13:07:04 +04:00
Peter Zhelezniakov
a61087c762 4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
Both POST and GET can now be processed asynchronously; PageLoader refactored

Reviewed-by: gsm
2008-04-03 16:41:43 +04:00
Eamonn McManus
332059a555 6610917: Define a generic NotificationFilter
Adds javax.management.QueryNotificationFilter

Reviewed-by: dfuchs
2008-04-01 14:45:23 +02:00
Kelly O'Hair
2214f21856 Merge 2008-03-26 17:48:05 -07:00
Kelly O'Hair
ba11a6a5e6 6627817: Remove ^M characters in all files (Makefiles too)
Some files included the use of the ^M character, which has been deleted.

Reviewed-by: xdono
2008-03-25 14:40:43 -07:00
Eamonn McManus
86bf96a3b2 6649542: Document explicitly in registerMBean etc that MBeanServerNotification is emitted
Make spec more readable by adding cross-references.  Suggested by Andrew Haley.

Reviewed-by: dfuchs
2008-03-21 09:49:40 +01:00
Eamonn McManus
bca4fce00a 6675768: NoSuchElementException thrown in RequiredModelMBean when tracing enabled
Rewrite logging in RequiredModelMBean.addAttributeChangeNotificationListener

Reviewed-by: dfuchs
2008-03-19 15:17:22 +01:00
Bradford Wetmore
b12d27166f Merge 2008-03-11 23:37:02 -07:00
Martin Buchholz
4341094beb 6600143: Remove another 450 unnecessary casts
Reviewed-by: alanb, iris, lmalvent, bristor, peterjones, darcy, wetmore
2008-03-10 15:07:09 -07:00
Weijun Wang
b85d2a9e76 6634644: broken fragment, should use @link
Reviewed-by: mullan
2008-03-08 22:49:45 +08:00
Eamonn McManus
5cd758db4c 6670375: Missing unit test for 6607114 (Make JMXServiceURL reconstructible)
Current setup doesn't allow two pushes with same CR number

Reviewed-by: dfuchs
2008-03-03 15:44:50 +01:00
Eamonn McManus
8736cd2d59 6607114: Make JMXServiceURL reconstructible in MXBeans
Add @ConstructorProperties tag to JMXServiceURL

Reviewed-by: dfuchs
2008-03-03 15:28:40 +01:00
Eamonn McManus
104cc86359 6602310: Extensions to Query API for JMX 2.0
6604768: IN queries require their arguments to be constants

New JMX query language and support for dotted attributes in queries.

Reviewed-by: dfuchs
2008-03-03 10:32:38 +01:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00