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...
Type: Posts; User: mstabosz
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...
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...
Fantastic. I added the following code to the constructor of my FanBlades class:
Dimension preferredSize = new Dimension(PANEL_WIDTH, PANEL_HEIGHT);
this.setPreferredSize(preferredSize);
...
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...