Results 1 to 19 of 19
- 08-11-2011, 04:25 AM #1
Why would you want to draw directly on the JFrame and not on the JPanel? If we knew your rationale for going against standard practice, perhaps we could help you better.
Which part of the JFrame do you plan on drawing on? The content pane? root pane? glass pane? layered pane? Do you know the reasons why the google search is giving you this answer, why it is in general a very bad idea to draw directly on the JFrame?
- 08-11-2011, 04:53 AM #3
Why on earth do you want to paint directly on the frame?
- 08-11-2011, 04:58 AM #4
- 08-11-2011, 05:03 AM #6
- 08-11-2011, 05:04 AM #7
- 08-11-2011, 05:05 AM #8
I strongly urge you to create a small compilable runnable program that we can run, test, modify ourselves, that requires no outside dependencies such as images on disk or database, in short, an SSCCE, and then post the code here and we can help you with it.
- 08-11-2011, 05:18 AM #11
Cool. Glad you've got it working, and I wish all advice were so easy to give.
- 08-11-2011, 05:27 AM #13
- 08-11-2011, 05:38 AM #14
- 08-11-2011, 05:46 AM #15
It benefits me and everyone else if you improved the quality and quantity of information in your posts. The benefit is that it doesn't take 20 posts of back and forth of extracting information from you before we get to the real problem. If you post all the information in your first post then it will be a lot easier for us to diagnose the problem and provide a solution. The follow on effect is that you get a response sooner so you can fix your problem.
- 08-11-2011, 05:48 AM #16
- 08-11-2011, 05:49 AM #17
- 08-11-2011, 05:52 AM #18
- 08-11-2011, 05:55 AM #19
- By Rolf83 in forum AWT / SwingReplies: 22Last Post: 06-04-2011, 12:26 PM
- By PhQ in forum New To JavaReplies: 2Last Post: 07-16-2010, 11:19 PM
- By ngansamuel in forum New To JavaReplies: 2Last Post: 03-22-2009, 02:53 PM
- By firstname.lastname@example.org in forum New To JavaReplies: 2Last Post: 08-24-2008, 05:01 AM
- By carl in forum Java 2DReplies: 1Last Post: 07-31-2007, 06:56 AM