+ Reply to Thread
Results 1 to 6 of 6

Thread: how to change the position of a button in java applet

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Posts
    7
    Rep Power
    6

    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. #2
    Super Moderator sk_kireeti's Avatar
    Join Date
    Feb 2006
    Posts
    2,279
    Rep Power
    65

    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

  3. #3
    Junior Member
    Join Date
    Sep 2007
    Posts
    7
    Rep Power
    6

    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. #4
    Super Moderator sk_kireeti's Avatar
    Join Date
    Feb 2006
    Posts
    2,279
    Rep Power
    65

    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

  5. #5
    Junior Member
    Join Date
    Sep 2007
    Posts
    7
    Rep Power
    6

    Re: how to change the position of a button in java applet

    thanks for your kind reply.....

  6. #6
    Junior Member
    Join Date
    Jul 2008
    Age
    26
    Posts
    1
    Rep Power
    5

    Re: how to change the position of a button in java applet

    Quote Originally Posted by narainooty View Post
    Hi friends...

    can any one help me how to change the position(or co-ordinates) of button in JAVA applet.........

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sun Certification for Java
    By alchemist in forum JAVA Technologies
    Replies: 10
    Last Post: 12-02-09, 10:20 PM
  2. JAVA WEB SITES
    By yathish in forum JAVA Technologies
    Replies: 2
    Last Post: 20-11-08, 12:11 AM
  3. Practice Question in JAVA
    By sowmya571 in forum JAVA Technologies
    Replies: 8
    Last Post: 15-02-08, 08:09 PM
  4. JAVA Downloads
    By yathish in forum JAVA Technologies
    Replies: 2
    Last Post: 22-01-07, 01:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.1 PL1