IAmJordanX / seaglass

Automatically exported from code.google.com/p/seaglass
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed in 0.1.3.

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

GoogleCodeExporter commented 9 years ago
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