![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Professional Programmer
|
Visible area insize JFrame
I am writing a program where I need to display a grid(16,16) separated by 4 pixels. I draw the pixels on a BufferedImage and then draw that inside a JPane. My problem is that I can never get the JFrame size right.
How do I go about creating a JFrame which contains a JPane(400pixels by 400 pixels). I know this problem is because of the Title Bar of the JFrame, however I am not sure how I would fix this.Does anyone have any ideas of how I can get this accomplished??
__________________
JG-Webdesign |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| adding Flash area | Simongcc | Community Announcements and Feedback | 4 | Aug 16th, 2007 11:23 PM |
| Can't resize my JFrame. | Intimidat0r | Java | 4 | Mar 15th, 2007 3:05 PM |
| Python area calculator | Volkan | Python | 20 | Feb 4th, 2006 9:11 AM |
| Rectangle in EAST is partially visible | susam_pal | Java | 0 | Sep 30th, 2005 12:44 AM |
| Area and Perimeter | Dark Flare Knight | Java | 17 | May 17th, 2005 10:49 AM |