This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 27954 - o.o.awt.ToolbarButtonUI non-portable
Summary: o.o.awt.ToolbarButtonUI non-portable
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2002-10-11 14:36 UTC by Jan Chalupa
Modified: 2008-12-23 10:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2002-10-11 14:36:45 UTC
[org.openide.awt.ToolbarButtonUI, v1.10]

Package-private class
org.openide.awt.ToolbarButtonUI extends
com.sun.java.swing.plaf.windows.WindowsButtonUI.

The code is likely to have problems on non-Sun
JDKs as the com.sun.java.* classes will be
missing. The code should be rewritten so that it's
JDK vendor independent.
Comment 1 Marian Mirilovic 2002-10-11 15:01:06 UTC
Platform/OS independent issue.
Comment 2 Marian Mirilovic 2002-11-13 15:30:18 UTC
changed owner Dafe -> Peter Z.
Comment 3 Peter Zavadsky 2002-12-04 18:08:12 UTC
Interesting notice. 
Perhaps the first attempt to solve this is to copy the WindowsButtonUI
to the openide.awt package and ToolbarButtonUI make subclass of it.
Comment 4 Marian Mirilovic 2002-12-06 18:19:12 UTC
reassign to Tim, new owner of AWT/Swing
Comment 5 Marian Mirilovic 2003-01-06 12:33:02 UTC
I have changed version from 4.0 dev to S1S 4.2 (Nevada).
Comment 6 _ tboudreau 2003-02-03 10:00:15 UTC
Are you sure this is a problem?  AFAIK 
com.sun.java.swing.plaf.windows.WindowsButtonUI
is part of the Swing implementation and should be present (i.e.
Windows look and feel should work with the IBM JVM, etc.)
regardless.
Comment 7 _ tboudreau 2003-04-17 13:54:28 UTC
Marking fixed. ToolbarButtonUI has been deleted from the trunk.
Comment 8 Jan Chalupa 2003-07-09 10:03:55 UTC
Verified.