BlueLight Wrote:So the problem is getting the with the decisions panel is not the logic but getting a components that would do what you want.
If any of the links here have what your looking for, then shout out. I'll look later for something that looks like what your describing. I just don't think the normal API has the component your asking for.
https://www.google.com/search?q=java+sw ... e&ie=UTF-8Spoiler (click to show/hide):
I was able to do a bit of modification to make the size more control able. The northern panels will now all be the same size no matter what (Okay i guess not if there is a number of pixel on devidable by 3)
BlueLight Wrote:Yes and no. Basically i'm using a layout manager to simplify how the layouts are done. The problem with that is they control how everything sizes up. So i can't force it to be 100 by 100 pixel sadly. However, i can use gimmick to for the layout manager to give the components more room by adding buttons or anything that will take room.
So i'm thinking of how to do the center panel, and i'm thinking of doing HTML as silly as it sounds. I should be able to put a component in that takes reads HTML code. I barely remember how to code in HTML, much less know if it's possible to add checkboxes.
I'm thinking for the check boxes, we can always add a panel below the HTML panel that has both sets of check boxes followed by another HTML panel.
Now i personally haven't coded in HTML in quite some time, so if there is another forum you visit for this type of stuff, can you get them to write the HTML?
I'll look around for a open source HTML panel later.
Random r = new Random();
int randomResult = r.nextint(6) +1; // r.nextint(6) will return a value equal to or between 0 and five.
BlueLight Wrote:6 side dice.
- Code: Select All Code
Random r = new Random();
int randomResult = r.nextint(6) +1; // r.nextint(6) will return a value equal to or between 0 and five.
The random class isn't super random, so i think i might make my own version of it, but that would a library class i'd make for use here and other games.
Users browsing this forum: No registered users