Coordinate Planes? Static Sizes? Oh dear.

Greetings, fellow programmers. I come to you today beseeching your help. Most of my attempts to obtain aid from my instructor or colleagues have culminated in a great "RTFM", but the Javadocs only confuse me further. I have no prior experience with GUIs, and so I am left in the dust for this assignment.

Basically, my personal assignment in our classwide project is to code a graphical representation of a two-dimensional play field or board. The assignment is essentially a game of Tiddlywinks, with the user "firing" tokens onto the board. However, I have no idea how to do two things: The first being make a container with a STATIC size, that cannot be changed by the user (by resizing the frame or anything else). The second is to code a coordinate plane, to be used for placing the images onto their appropriate locations on the board. From what I have derived by looking at examples and experiments with GUIs, it seems that all the components on a frame (or any other container) are positioned automatically via Layouts (A completely new concept for me). It is here that I hit a brick wall. I have NO means to "place this token here" or "place this token at (150, 133)". If I fail to complete this assignment, the entire class project will undoubtedly fail, and I shant mention the implications of that.

Are there any ways to do either of what I have mentioned? For your reference, my IDE is Eclipse and we are currently using JavaSE5 (or so my instructor informs me).

[1494 byte] By [TimCarlla] at [2007-11-27 4:49:06]
# 1
frame.setSize(w, h);frame.setResizeable(false);You can have a null layout, or write your own, and thus call setBounds() on a component to set it's size/location.
bsampieria at 2007-7-12 10:02:08 > top of Java-index,Java Essentials,Java Programming...