Commit Graph

293 Commits

Author SHA1 Message Date
Pavel Porvatov
d859ed231e 6924059: SynthScrollBarUI.configureScrollBarColors() should have spec different from the overridden method
Reviewed-by: peterz
2010-03-03 17:57:25 +03:00
Pavel Porvatov
0a231a50e2 6923305: SynthSliderUI paints the slider track when the slider's "paintTrack" property is set to false
Reviewed-by: alexp
2010-02-27 16:03:05 +03:00
Pavel Porvatov
81941ba314 6918861: SynthSliderUI.uninstallDefaults() is not called when UI is uninstalled
Reviewed-by: malenkov
2010-02-27 15:09:16 +03:00
Pavel Porvatov
d56d72a823 6848475: JSlider does not display the correct value of its BoundedRangeModel
Reviewed-by: peterz
2010-02-10 15:15:03 +03:00
Peter Zhelezniakov
ca167b2935 6860438: [Nimbus] Code to globally set slider's thumb background doesn't work as specified
Reviewed-by: rupashka
2009-12-25 17:47:08 +03:00
Peter Zhelezniakov
af7c975cc6 6860433: [Nimbus] Code to set a single slider's thumb background doesn't work as specified
Reviewed-by: rupashka
2009-12-21 19:26:58 +03:00
Lana Steuck
65690ed0dc Merge 2009-11-25 14:37:03 -08:00
Peter Zhelezniakov
79eb513674 6888156: With GTK Look and Feel Icons cannot be rendered in Jtable Cells
Reviewed-by: rupashka
2009-11-25 20:47:20 +03:00
Lana Steuck
314207e7f5 Merge 2009-11-24 18:12:46 -08:00
Florian Brunner
5db737cd4c 6823603: Generics: JList
Reviewed-by: peterz, alexp
2009-11-23 20:57:17 +03:00
Pavel Porvatov
7ab71fb443 6868611: FileSystemView throws NullPointerException
Reviewed-by: peterz
2009-11-17 16:01:09 +03:00
Alexander Potochkin
bbe245dca3 6657138: Mutable statics in Windows PL&F (findbugs)
Reviewed-by: peterz, hawtin
2009-11-06 19:48:09 +03:00
Pavel Porvatov
ce0d94ffec 6894504: javax/swing/JFileChooser/6741890/bug6741890.java fails w/ RuntimeException
Reviewed-by: malenkov
2009-10-30 14:05:48 +03:00
Alexander Potochkin
5b04b875ea 6795356: Leak caused by javax.swing.UIDefaults.ProxyLazyValue.acc
Reviewed-by: hawtin
2009-10-22 18:42:18 +04:00
Pavel Porvatov
e7de83e1e2 6550546: Win LAF: JFileChooser -> Look in Drop down should not display any shortcuts created on desktop
Reviewed-by: peterz
2009-10-22 16:39:29 +04:00
Abhijit Saha
cf5d27bd7c Merge 2009-10-21 11:28:46 -07:00
Pavel Porvatov
c1bf8506f1 6892340: Part of the CR 6741890 should be forwardported
Reviewed-by: malenkov
2009-10-21 14:25:25 +04:00
Abhijit Saha
c6c70af568 Merge 2009-10-06 21:40:55 -07:00
Pavel Porvatov
65e5c75b0b 6489130: FileChooserDemo hung by keeping pressing Enter key
Reviewed-by: alexp
2009-10-06 17:01:52 +04:00
Alexander Potochkin
77205e0f7b 6883341: SWAT: jdk7-b72 swat build(2009-09-17) threw exceptions when running Java2D demo by clicking Paint ta
Reviewed-by: peterz
2009-09-21 17:58:09 +04:00
Pavel Porvatov
c47e47b64a 6840086: JFileChooser lacks icons on top right when running on Windows 7
Reviewed-by: peterz, uta
2009-09-18 15:11:28 +04:00
Sergey Groznyh
c975650b82 4337267: Arabic Numeral Shaping
Reviewed-by: peterz
2009-09-16 16:15:41 +04:00
Alexander Potochkin
840c0d8150 6875716: JLayer.remove((Component)null) should behave consistently in (not) throwing NPE
Reviewed-by: rupashka
2009-09-15 16:26:40 +04:00
Sergey Malenkov
63810a5c42 6657026: Numerous static security flaws in Swing (findbugs)
Reviewed-by: hawtin, peterz
2009-09-03 19:42:27 +04:00
Alexander Potochkin
8db0c57ad0 6797139: JButton title is truncating for some strings irrespective of preferred size
Reviewed-by: peterz
2009-09-02 17:47:19 +04:00
Alexander Potochkin
3ef90fd6fd 6875153: JLayer.isOptimizedDrawingEnabled() throws NPE for null glass pane set
Reviewed-by: rupashka
2009-09-01 18:51:15 +04:00
Alexander Potochkin
28023ec9d0 6872503: JLayer event handling should be rewritten
Reviewed-by: art
2009-08-31 18:39:41 +04:00
Alexander Potochkin
343439d82f 6824395: Several Swing core components prevent using them in wrapper classes
Reviewed-by: peterz
2009-08-24 19:22:38 +04:00
Pavel Porvatov
5e92ec1716 6849266: closed/javax/swing/JFileChooser/6484091/bug6484091.java fails on solaris 10 sparc
Reviewed-by: peterz
2009-08-24 18:21:47 +04:00
Pavel Porvatov
afca155718 6579827: vista : JSlider on JColorchooser is not properly render or can't be seen completely
Reviewed-by: peterz
2009-08-21 16:59:27 +04:00
Yuri Nesterenko
4c2a46386f Merge 2009-08-18 23:40:15 -07:00
Alexander Potochkin
3f2aa03af7 6822696: Integrating JXLayer component to Swing library
Reviewed-by: peterz, art
2009-08-10 16:29:30 +04:00
Abhijit Saha
7ebb690ec3 Merge 2009-08-06 22:37:58 -07:00
Lillian Angel
872d3ebfc7 6593649: Word wrap broken for JTextArea
Layout correctly resizes components based on actual dimensions of the window they are in.

Reviewed-by: gsm
2009-08-06 16:04:47 +01:00
Sergey Groznyh
82eb86f2be 6539700: JTextPane line wrap radically different from previous versions in jre 1.5.0_10+
Reviewed-by: peterz
2009-08-03 19:22:02 +04:00
Sergey Malenkov
099a44dbf8 6865565: Test failed: /test/closed/javax/swing/JInternalFrame/6325652/bug6325652.java
Reviewed-by: peterz
2009-07-31 16:27:35 +04:00
Sergey Malenkov
c1073a5d61 6864297: Right-to-left oriented JScrollPane is aligned to the wrong direction while resizing the container
Reviewed-by: peterz
2009-07-28 13:10:14 +04:00
Sergey Malenkov
da10005c86 6802868: JInternalFrame is not maximized when maximized parent frame
Reviewed-by: rupashka
2009-07-22 12:21:31 +04:00
Abhijit Saha
a5da46de60 Merge 2009-07-21 13:02:23 -07:00
Sergey Malenkov
da30267d99 6505027: terminateEditOnFocusLost making problems for table in JDesktopPane
Reviewed-by: alexp
2009-07-16 20:12:14 +04:00
Qi Zuo
8a897fd954 Merge 2009-07-09 13:53:05 -04:00
Peter Zhelezniakov
f17d1e509e 6849805: Nimbus L&F: NimbusLookAndFeel.getDerivedColor() not always returns color2 for 1.0 midPoint
Different rounding mode used for float->int conversion

Reviewed-by: malenkov
2009-06-26 21:43:21 +04:00
Sergey Malenkov
3fcee8351e 6848364: javax/swing/border/Test4856008.java regression test fails due to BorderedComponent package not found
Reviewed-by: alexp
2009-06-25 18:50:51 +04:00
Sergey Malenkov
0681d1454c 6660049: Synth Region.uiToRegionMap/lowerCaseNameMap are mutable statics
Reviewed-by: hawtin
2009-06-18 14:08:07 +04:00
Andy Herrick
1939fe49d8 Merge 2009-06-15 13:08:29 -04:00
Andy Herrick
e487e25584 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
6845973: Update JDK7 with deployment changes in 6u13, 6u14
4802695: Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64
6825019: DownloadManager should not be loaded and referenced for full JRE
6738770: REGRESSION:JSException throws when use LiveConnect javascript facility
6772884: plugin2 : java.lang.OutOfMemoryError or crash
6707535: Crossing domain hole affecting multiple sites/domains using plug-in
6728071: Non-verification of Update files may allow unintended updates
6704154: Code loaded from local filesystem should not get access to localhost
6727081: Web Start security restrictions bypass using special extension jnlp
6727079: Java Web Start Socket() restriction bypass
6727071: Cache location/user name information disclosure in SingleInstanceImpl
6716217: AppletClassLoader adds permissions based on codebase regardless of CS
6694892: Java Webstart inclusion via system properties override [CVE-2008-2086]
6704074: localhost socket access due to cache location exposed
6703909: Java webstart arbitrary file creation using nativelib
6665315: browser crashes when deployment.properties has more slashes ( / )
6660121: Encoding values in JNLP files can cause buffer overflow
6606110: URLConnection.setProxiedHost for resources that are loaded via proxy
6581221: SSV(VISTA): Redirection FAILS to work if user does a downgrade install
6609756: Buffer Overflow in Java ActiveX component
6608712: Bypassing the same origin policy in Java with crafted names
6534630: "gnumake clobber" doesn't
6849953: JDK7 - replacement of bufferoverflowU.lib on amd64 breaks build
6849029: Need some JDK7 merge clean-up after comments on the webrev
6847582: Build problem on JDK7 with isSecureProperty in merge
6827935: JDK 7 deployment merging - problem in Compiler-msvm.gmk
6823215: latest merge fixes from 6u12 -> JDK7
6816153: further mergers for JDK7 deployment integration
6807074: Fix Java Kernel and JQS in initial JDK7 builds

Initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-12 14:56:32 -04:00
Yuri Nesterenko
86df48bb43 Merge 2009-06-01 01:06:28 -07:00
Pavel Porvatov
f46daf03eb 6845805: Test for CR 6713352 is failed under Linux
Reviewed-by: malenkov
2009-05-28 18:11:07 +04:00
Artem Ananiev
55c50f50d0 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window

Reviewed-by: anthony, tdv, alexp
2009-05-21 12:29:25 +04:00
Pavel Porvatov
210c9c8b6f 6713352: Deadlock in JFileChooser with synchronized custom FileSystemView
Reviewed-by: malenkov, peterz
2009-05-15 17:26:45 +04:00
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
Pavel Porvatov
93751b6e8c 6798062: Memory Leak on using getFiles of FileSystemView
Reviewed-by: peterz, malenkov
2009-03-26 11:04:47 +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
Pavel Porvatov
30beae5a8c 6738668: JFileChooser cannot be created under SecurityManager
Reviewed-by: peterz
2009-03-17 16:06:14 +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
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
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
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
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
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
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
b4ad1bd707 6742490: JSlider tests are located in JFileChooser directory
Tests were moved to appropriate folder

Reviewed-by: peterz
2008-08-29 13:23:55 +04:00
Lana Steuck
189c383d48 Merge 2008-08-12 17:59:58 -07: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
Igor Kushnirskiy
f7be937495 6608456: need API to define RepaintManager per components hierarchy
Reviewed-by: alexp
2008-07-25 11:32:12 -04: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
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
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
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
Sergey Malenkov
ef9b3891fc 6718965: Swing color chooser tests should be open source
Reviewed-by: peterz
2008-06-26 15:39:12 +04:00
Sergey Malenkov
9d7b3f41e0 6718964: Swing border tests should be open source
Reviewed-by: peterz
2008-06-26 15:11:04 +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
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
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
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
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
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
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
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
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00