| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1 Thanked 0 Times in 0 Posts Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 1
|
how to change the position of a button in java applet
Hi friends...
can any one help me how to change the position(or co-ordinates) of button in JAVA applet......... |
|
|
|
|
|
#2 (permalink) |
|
Super Moderator
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,332
Thanks: 115 Thanked 226 Times in 187 Posts Thanks: 115
Thanked 226 Times in 187 Posts
Blog Entries: 2
Rep Power: 50
|
Re: how to change the position of a button in java applet
which layout you are using while positioning java objects? Try using null (no) layout or gridbaglayout. These will give maximum flexibility.
Thanks, Krishna
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation. |
|
|
|
|
|
#3 (permalink) |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1 Thanked 0 Times in 0 Posts Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Re: how to change the position of a button in java applet
Hi Krishna..,
Thanks for your reply and can you please tell me, Is it possible to use buttons without using layout and place at desired points?(Suppose i want to place it in 20,100(x and y values) or some other co-ordinates. How to do it..?) |
|
|
|
|
|
#4 (permalink) |
|
Super Moderator
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,332
Thanks: 115 Thanked 226 Times in 187 Posts Thanks: 115
Thanked 226 Times in 187 Posts
Blog Entries: 2
Rep Power: 50
|
Re: how to change the position of a button in java applet
Use null layout. That should help you.
Java: Null Layout Manager (swing) - Tech-Recipes.com Thanks, Krishna
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation. |
|
|
|
| The Following User Says Thank You to sk_kireeti For This Useful Post: |
narainooty (17-09-07)
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Practice Question in JAVA | sowmya571 | JAVA Technologies | 8 | 15-02-08 07:09 PM |
| JAVA Downloads | yathish | JAVA Technologies | 2 | 22-01-07 12:37 PM |
| JAVA WEB SITES | yathish | JAVA Technologies | 0 | 28-11-06 04:10 PM |
| Sun Certification for Java | alchemist | JAVA Technologies | 8 | 26-09-06 11:58 AM |