Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar gradient does not match frame gradient for non-Mac #1

Closed
GoogleCodeExporter opened this issue Apr 20, 2016 · 3 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Run program with a toolbar using Sea Glass on non-Mac or using -
DSeaGlass.Override.os.name=Windows

I expect the gradient on the toolbar to match the border of the frame 
seamlessly, but the colors 
aren't matching, quite.

They have independent gradients and they just don't match. Need to look into 
this.

Original issue reported on code.google.com by kahuxtable on 14 Dec 2009 at 3:07

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Fixed in 0.1.3.

Original comment by kahuxtable on 31 Dec 2009 at 6:46

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

downloaded the jar file but used

  try {
             UIManager.setLookAndFeel("com.seaglasslookandfeel.SeaGlassLookAndFeel");

        } catch (Exception e) {
            e.printStackTrace();
        }

but it throws error

deps-jar:
Compiling 1 source file to D:\BurdenDistribution\build\classes
compile:
run:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: 
Width (0)
and height (0) cannot be <= 0
        at
java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.
java:999)
        at java.awt.image.BufferedImage.<init>(BufferedImage.java:340)
        at
sun.awt.windows.TranslucentWindowPainter$BIWindowPainter.getBIBackBuffer(Translu
centWindowPainter.java:185)
        at
sun.awt.windows.TranslucentWindowPainter$BIWindowPainter.getBackBuffer(Transluce
ntWindowPainter.java:193)
        at
sun.awt.windows.TranslucentWindowPainter.updateWindow(TranslucentWindowPainter.j
ava:132)
        at sun.awt.windows.WWindowPeer.updateWindow(WWindowPeer.java:652)
        at sun.awt.windows.WWindowPeer.setOpaque(WWindowPeer.java:639)
        at java.awt.Window.applyOpaque(Window.java:3305)
        at java.awt.Window.addNotify(Window.java:652)
        at java.awt.Frame.addNotify(Frame.java:470)
        at java.awt.Window.show(Window.java:841)
        at java.awt.Component.show(Component.java:1447)
        at java.awt.Component.setVisible(Component.java:1400)
        at java.awt.Window.setVisible(Window.java:824)
        at launcher.BDMLauncher.<init>(BDMLauncher.java:108)
        at launcher.BDMLauncher$2.run(BDMLauncher.java:128)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269
)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174
)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Original comment by jammyjam...@gmail.com on 31 Dec 2009 at 10:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant