You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
Original issue reported on code.google.com by
jammyjam...@gmail.com
on 15 Feb 2010 at 5:29Attachments:
The text was updated successfully, but these errors were encountered: