Results 1 to 3 of 3
- 02-22-2011, 09:03 PM #1
Senior Member
- Join Date
- Aug 2009
- Posts
- 294
- Rep Power
- 0
JFrame invisible refuse to paint windows content tho everything else runs?
Wtf just happend?
I got tons of code I can NOT publish an example here. No possible way.
I only need to know, what are the common reasons that JFrames fucks up when painting it's contents?
It isnt hoged up as I can minimize and maximize, but it simply doesnt repaint anymore. Tho the repaint method is called over a 30 times per second.
It works when I add the jpanel with the game graphics in the begging.
If I remove the menu then add the game graphics panel, then it doesnt work.
-
Can't help without seeing code, but can't help if you have tons of code. You have your work cut out for you: Cut out code a bit at a time til the error goes away and that might be your offending code. Use a debugger or println statements to watch the state of your program as it rungs.
- 02-23-2011, 05:14 PM #3
Senior Member
- Join Date
- Aug 2009
- Posts
- 294
- Rep Power
- 0
Similar Threads
-
JFrame cannot paint?
By pandaman0212 in forum AWT / SwingReplies: 7Last Post: 05-04-2013, 07:19 AM -
JFrame expanding to fit content
By pcman312 in forum AWT / SwingReplies: 1Last Post: 12-31-2010, 07:09 PM -
Changing content pane of a JFrame?
By dunafrothint in forum AWT / SwingReplies: 1Last Post: 03-11-2010, 10:21 PM -
vm runs through jdialog directly to jframe
By j2me64 in forum AWT / SwingReplies: 5Last Post: 01-31-2010, 10:27 PM -
Printing JFrame + it`s content
By scana in forum AWT / SwingReplies: 1Last Post: 01-24-2010, 10:55 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks