Carsten Rasmussen wrote:I want to know how to align my textfield and buttons so far i have manage to make this:
As you can see my button and textfield are align to the left but what if i want to align the button at bottom and textfield at top.
This requirement does not match up with your earlier description about centering radio buttons - since it includes no radio buttons.
Carsten Rasmussen wrote:This time i want to see some codes, thank you
I want a pony. Thanks.
Another way to put that is that you do not always get what you want. The earlier post provided some excellent links that should have been sufficient to solve this problem. *
Carsten Rasmussen wrote:Ps. this is one of my first java scripts
Please refrain from using the term 'scripts' when referring to Java. It is not a scripting language, and the association of 'Java' and 'script' is too often confused with the separate language 'JavaScript'.
* The previous reply was aiming to teach you to fish. OTOH I am willing to 'toss you a fish'. You might think this is more useful, but I feel the first post had far better long term value.
This code puts some radio buttons in the bottom of the applet's content area, centered, as well as the two other controls at the top of the applet, aligned left.
To compile and run it, try something like:
Carsten Rasmussen wrote:PPP: I tried turning off caching on JAVA på i still have to reopen browser to see new content 
Those commands will open the applet in the JDK applet viewer. Since the applet viewer does not cache classes, it is a much better development tool than using an actual browser to check changes.
And before I forget. Please choose one form of the two common forms of delimiting code blocks and stick with it. E.G.