Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #148

Re: comp.lang.java.gui FA

From "usenet" <usenet@THRWHITE.remove-dii-this>
Subject Re: comp.lang.java.gui FA
Message-ID <0T3kvdh0Isia@uni.chka.de> (permalink)
Newsgroups comp.lang.java.gui
References <computer-lang/java/gui/faq_1163655788@rtfm.mit.edu>
Date 2011-04-27 15:25 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
In comp.lang.java.gui Thomas Weidenfeller <cljg_faq@gmx.de> wrote:



> Q8.10 When I subclass JPanel/JComponent, I need to override paint(),
>       right?

What kind of question is this?


> Q8.11 Why does drawImage() fail when I try to display a loaded image?
>       Why are the width and height of my loaded image both zero?

The width/height of not-completely-loaded Images are -1, not 0.


Christian

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar


Thread

Re: comp.lang.java.gui FA "usenet" <usenet@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000

csiph-web