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

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

Closed
GoogleCodeExporter opened this issue Jul 6, 2015 · 4 comments
Closed

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

GoogleCodeExporter opened this issue Jul 6, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Accepted

Attachments:

@GoogleCodeExporter
Copy link
Author

Issue 18 has been merged into this issue.

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

@GoogleCodeExporter
Copy link
Author

Is this still a problem?

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

@GoogleCodeExporter
Copy link
Author

Apparently not. I'm closing this.

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

  • Changed state: WontFix

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