Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: JAVA GUI problem, advanced String representation.  (Read 3364 times)

0 Members and 1 Guest are viewing this topic.

JohnyIversen

  • Guest
JAVA GUI problem, advanced String representation.
« on: August 24, 2007, 01:32:38 AM »
Hi there,

I'm working on a little project with a friend of mine, that is supposed to end up with being an online booking system for a festival. Therefore there's some economics involved in this, like how many people are going to sleep there and for how long etc.

We're then trying to display this equation, so it's easy to see what they pay for and how much. But I simply do not know how to do that. It should look something like this:


Anyways, I'm pretty much hardcoding it, though I had NetBeans set up the frame for me, and then I manually changed all the code afterwards to make sure it was just like I wanted it to be (using GroupLayout). I'm using the javax.swing.* package if that's any help?

I've tried to display it in a JTextArea, but I can't seem to find a way to do it.

Any good ideas?