hdijkema / seaglass

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

this is simply heart breakin!!!!!! #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
init:
deps-jar:
Compiling 1 source file to D:\SeaGlassDemo\build\classes
compile-single:
run-single:
Exception in thread "main" 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 seaglassdemo.SeaGlassFrameTest.main(SeaGlassFrameTest.java:40)

What version of the product are you using? On what operating system? What
JRE version?
OS  
Windows Xp SP 3

JDK 6 Update 18

Please provide any additional information below.

Original issue reported on code.google.com by jammyjam...@gmail.com on 15 Feb 2010 at 5:29

Attachments:

GoogleCodeExporter commented 9 years ago
Well, I can't duplicate it on the same OS with the same JDK and using either 
NetBeans or Eclipse.

I do note that you should have an objFrame.pack(); before the 
objFrame.setVisible(true);. Since we're drawing 
our own titles, this is more critical than with some other L&Fs.

That way, I didn't need the maximize stuff to get it to display.

I'm attaching the source I used.

Also, are you *absolutely sure* that your NetBeans is using the JDK you say it 
is?

Original comment by kahuxtable on 15 Feb 2010 at 1:00

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 18 has been merged into this issue.

Original comment by kahuxtable on 15 Feb 2010 at 1:00

GoogleCodeExporter commented 9 years ago
Is this still a problem?

Original comment by kahuxtable on 28 Feb 2010 at 4:38

GoogleCodeExporter commented 9 years ago
Apparently not. I'm closing this.

Original comment by kahuxtable on 7 Mar 2010 at 9:17