Results 1 to 2 of 2
  1. #1
    emylyano3 is offline Member
    Join Date
    Jun 2009
    Rep Power

    Default Doubt with GroupLayout

    Hello everybody, i have been using GroupLayout and I encountered a little problem that i could not solve. I would like to see if any of you are able to give me a hand with this.
    I try to add two components to a container (one over the other in Y AXE) , using the following code

    layout.setHorizontalGroup(layout.createSequentialG roup()
    .add(layout.createParallelGroup((GroupLayout.LEADI NG)))
    layout.setVerticalGroup(layout.createSequentialGro up()

    The problem is that it just add the canvas.getGeneralPanel() component, the other does not appear, unless i comment the .add(canvas.getGeneralPanel()) lines.
    Do you have any idea of why this happens?

    Any suggestion would be helpfull.


  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    Any suggestion would be helpfull.
    I suggest that you please don't cross-post the same question on multiple fora without being forthright about it. Thanks.

Similar Threads

  1. help about class GroupLayout
    By MaHa in forum NetBeans
    Replies: 2
    Last Post: 09-08-2008, 12:25 AM
  2. [SOLVED] Alignment in GroupLayout
    By nanou in forum AWT / Swing
    Replies: 8
    Last Post: 09-03-2008, 04:14 AM
  3. Replies: 6
    Last Post: 07-10-2008, 08:28 PM
  4. "Problem With GroupLayout", Please Help !
    By adeeb in forum AWT / Swing
    Replies: 1
    Last Post: 06-04-2008, 11:29 AM
  5. doubt in jms
    By veena in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 01-05-2008, 02:42 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