Search:

Type: Posts; User: mstabosz

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,376

    Re: BorderLayouts and graphics panels and such.

    Thanks JPS. I tried for a while, but it just sorta felt like trying to toss the control panel into the same frame as the animations just sorta screwed everything up aesthetically, so I went with...
  2. Replies
    5
    Views
    1,376

    Re: BorderLayouts and graphics panels and such.

    So I've now put a fan in each of the 4 directions, plus the star in the middle. The code below makes the frame. As you can see, I basically used up all 5 segments available to BorderLayout. There...
  3. Replies
    5
    Views
    1,376

    Re: BorderLayouts and graphics panels and such.

    Fantastic. I added the following code to the constructor of my FanBlades class:



    Dimension preferredSize = new Dimension(PANEL_WIDTH, PANEL_HEIGHT);

    this.setPreferredSize(preferredSize);
    ...
  4. Replies
    5
    Views
    1,376

    BorderLayouts and graphics panels and such.

    So I have something of an integration problem, I guess. In my current Java course, we have an assignment involving Graphics and Graphics2D. What we have to do is draw 4 "fans" in a frame, oriented...
Results 1 to 4 of 4