Search:

Type: Posts; User: snowguy13

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,861

    Re: BoxLayout: Sharing ISN'T Caring... :(

    I share that curiosity. When I first used BoxLayout, I was thrown off by having that parameter in its constructor. It seems redundant.

    But perhaps its as you said before. Instead of the component...
  2. Replies
    5
    Views
    1,861

    Re: BoxLayout: Sharing ISN'T Caring... :(

    @helloworld922

    Okay, that explains a lot. Thank you! :D

    Hmm... But that brings another question to my mind: why does this problem only occur with BoxLayout, and not GridLayout, GridBagLayout,...
  3. Replies
    5
    Views
    1,861

    Re: BoxLayout: Sharing ISN'T Caring... :(

    Weeeell, never mind. I got it to work, simply by changing...
    gameModePanel = new JPanel(new BoxLayout(gameModePanel, BoxLayout.PAGE_AXIS));
    ...to...
    gameModePanel = new JPanel();...
  4. Replies
    5
    Views
    1,861

    BoxLayout: Sharing ISN'T Caring... :(

    I'm trying to lay out some radio buttons using BoxLayout, which aligns Components right next to each other vertically or horizontally. In other words, it makes them nice and neat. However, I'm...
Results 1 to 4 of 4