|
-
May 7th, 2006, 05:44 AM
#1
Thread Starter
Junior Member
TextField Alignment??
TextField radField; // radius TextField declared
public void init()
{
radField = new TextField(15);
add(radField);
add (new Label ("centimetres"));
radField.addActionListener (this);
} // radius TextField added to the applet
Ok this is my TextField. It's fine, it does the job.... but it appears at the top of the applet and i haven't been able to work out how to move it?
How do you specify where the TextField goes? However i've arranged my code it always appears at the top of the applet?
Pyra
-
May 8th, 2006, 09:48 PM
#2
Addicted Member
Re: TextField Alignment??
Try to use Layout Manager to arrange your component like TextField, Button, Lable, etc. in your Applet.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|