View Single Post
  #1 (permalink)  
Old 11-18-2007, 07:59 PM
deadman_uk deadman_uk is offline
Member
 
Join Date: Nov 2007
Posts: 3
deadman_uk is on a distinguished road
Object locations via grid coordinates HELP.
Hi all, I am new here and I use BlueJ as my complier. I am completely new to java and I have ran into a problem. I need to make a program but I am stuck at the very first step (the interface).

I have made my interface with JframeBuilder and it has 10 objects. I have told the program ROUGHLY where I want the objects to go via grid coordinates. All is fine until I try and set the form background to a jpg image. The program ignores the grid coordinates and sets all objects to the top of the form.

I can get around this by using the north, east, south, west, center method but that doesn't give me the flexibility I want. I would like to set the object location via grid coordinates like JframeBuilder has done.

My Program

The link to my program is above. I would really appreciate it if someone could take a quick look and tell me why the program ignores the grid coordinates I have made when I set the form background to a jpg.

Thanks all
Reply With Quote
Sponsored Links