History | Log In     View a printable version of the current page.  

Issue Details (XML | Word | Printable)

Key: UBA-7413
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Janak Mulani
Reporter: David Frank
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ULCBase

UIScrollPane.BasicScrollPane.setCorner() breaks with recent JRE6

Created: 10/Mar/08 03:31 PM   Updated: 14/May/08 08:51 AM
Component/s: components
Affects Version/s: None
Fix Version/s: UltraLightClient '08, ULC 6.2.3


 Description  « Hide
Starting with build 12 of Java SE 6 Update N (https://jdk6.dev.java.net/6uNea.html) an IllegalArgumentException occurs when showing e.g. an ULCTable with Scrollbars.
UIScrollPane should support the keys UPPER_LEADING_CORNER, UPPER_TRAILING_CORNER, LOWER_LEADING_CORNER, LOWER_TRAILING_CORNER as defined in javax.swing.ScrollPaneConstants.
The new keys can simply be mapped to the old ones as shown in http://www.jdocs.com/page/AjaxSourceCode?oid=29115#329

com.ulcjava.base.shared.internal.IllegalArgumentException: invalid corner key
at com.ulcjava.base.client.UIScrollPane$BasicScrollPane.setCorner(UIScrollPane.java:14)
at javax.swing.JTable.configureEnclosingScrollPane(Unknown Source)
at javax.swing.JTable.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at javax.swing.JRootPane.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at java.awt.Window.addNotify(Unknown Source)
at java.awt.Frame.addNotify(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at com.ulcjava.base.client.UIWindow.show(UIWindow.java:16)
at com.ulcjava.base.client.UIWindow.setVisible(UIWindow.java:72)
at com.ulcjava.base.client.UIWindow.postInitializeState(UIWindow.java:54)
at com.ulcjava.base.client.UIFrame.postInitializeState(UIFrame.java:2)
at com.ulcjava.base.client.UIProxy.init(UIProxy.java:76)
at com.ulcjava.base.client.UISession.newInstance(UISession.java:34)
at com.ulcjava.base.client.UISession.handleRequest(UISession.java:84)
at com.ulcjava.base.client.UISession.b(UISession.java:278)
at com.ulcjava.base.client.UISession.access$2000(UISession.java:317)
at com.ulcjava.base.client.UISession$6.run(UISession$6.java:2)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueue.java:19)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)



 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.