Results 1 to 2 of 2

Thread: z-Index problem

  1. #1
    mjdousti is offline Member
    Join Date
    Dec 2007
    Posts
    6
    Rep Power
    0

    Default z-Index problem

    Hi,
    I've two JButton. I want to set its z-index order in Swing. How can I do it?


    Thanks in advace.

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    The Container class has a setComponentZOrder method that you can use.
    The api Method Detail section has details.

Similar Threads

  1. Help with Flesch Index
    By L_22 in forum Advanced Java
    Replies: 1
    Last Post: 03-31-2008, 05:30 PM
  2. Replacing at an index
    By bugger in forum New To Java
    Replies: 2
    Last Post: 01-29-2008, 06:33 AM
  3. how to load a servlet on index.jsp page...
    By sujithc34 in forum Java Servlet
    Replies: 1
    Last Post: 01-19-2008, 12:28 AM
  4. problems with array index
    By mary in forum New To Java
    Replies: 2
    Last Post: 08-01-2007, 04:30 PM
  5. Accessing index.dat files
    By vissu007 in forum Networking
    Replies: 1
    Last Post: 07-01-2007, 04:47 PM

Posting Permissions

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