Swing JPanel PaintComponent Issue
From: matt (mhm26_at_drexel.edu)
Date: 11/29/04
- Next message: Shane Mingins: "Custom CellEditor Accepting Interesting Values"
- Previous message: CR: "Re: Drawing"
- Next in thread: John McGrath: "Re: Swing JPanel PaintComponent Issue"
- Reply: John McGrath: "Re: Swing JPanel PaintComponent Issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Nov 2004 17:11:49 -0800
I have a JFrame that I have undecorated and in full screen mode. To
draw on the screen, I add a JPanel and draw on that and go for a
setVisible(true). Then, I do what I need and do a setVisible(false)
and go forward.
Sometimes, though, my application will just hang and not paint
anything - at various `screens' ... I'm not doing any threading stuff
in my code, so I don't think that's it. Any ideas?
Thanks
[ummaycoc@localhost java]$ javac -version
javac 1.5.0
javac: no source files
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler
is doing
-deprecation Output source locations where deprecated
APIs are used
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class
files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards
path
-d <directory> Specify where to place generated class
files
-encoding <encoding> Specify character encoding used by source
files
-source <release> Provide source compatibility with
specified release
-target <release> Generate class files for specific VM
version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime
system
[ummaycoc@localhost java]$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
[ummaycoc@localhost java]$ uname -a
Linux localhost 2.6.3-7mdk-i686-up-4GB #1 Wed Mar 17 15:17:23 CET 2004
i686 unknown unknown GNU/Linux
- Next message: Shane Mingins: "Custom CellEditor Accepting Interesting Values"
- Previous message: CR: "Re: Drawing"
- Next in thread: John McGrath: "Re: Swing JPanel PaintComponent Issue"
- Reply: John McGrath: "Re: Swing JPanel PaintComponent Issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|