...
> ...
> | 1) For every component I add to my JDialog, there is the
[quoted text clipped - 24 lines]
> }
> }
Of course I'll do something like that, at a later time, if I won't find
a method to do it whithout have to derive every component I use.
Andrew Thompson - 17 Jan 2004 20:20 GMT
| > ...
| > | 1) For every component I add to my JDialog, there is the
[quoted text clipped - 4 lines]
| >
| > JAliasLabel status = new JAliasLabel("Item not selected yet.");
******* here is the important bit**************
JAliasLabel thisLabel = new JAliasLabel("Item not selected
yet.");
JAliasLabel thatLabel = new JAliasLabel("Item not selected
yet.");
JAliasLabel theOtherLabel = new JAliasLabel("Item not selected
yet.");
******that I forgot to point out in the original*******
| > ...
| >
[quoted text clipped - 19 lines]
| Of course I'll do something like that, at a later time, if I won't find
| a method to do it whithout have to derive every component I use.
Maybe that makes it more clear. The point is,
if you declare a class that _extends_ JLabel,
you can create as many objects of it as you
like...
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Andrew Thompson - 17 Jan 2004 20:21 GMT
...
| Of course I'll do something like that, at a later time, if I won't find
| a method to do it whithout have to derive every component I use.
..and it is not a 'method', it is a 'class'
Andrew Thompson - 17 Jan 2004 20:28 GMT
If you are still unsure what I mean, you
can examine a concrete example of it here..
http://www.physci.org/launcher.jsp#JAnimateFrame
Alberto defined the Ball class (line 127), then
instantiated 5 ball objects within the
JAnimatePanel (line 54)..
Manolis Christodoulou - 17 Jan 2004 22:03 GMT
> If you are still unsure what I mean, you
> can examine a concrete example of it here..
[quoted text clipped - 3 lines]
> instantiated 5 ball objects within the
> JAnimatePanel (line 54)..
I'm pretty familiar with inheritance. The only reason I havn't done it
that way is that the code is in development stage. The thing I look for
is how to set[XXXX] things instead.
visionset - 18 Jan 2004 08:11 GMT
> The thing I look for
> is how to set[XXXX] things instead.
This is OO
--
Mike W
Manolis Christodoulou - 18 Jan 2004 01:09 GMT
>>The thing I look for
>>is how to set[XXXX] things instead.
>
> This is OO
ok, i give up :-)
Manolis Christodoulou - 18 Jan 2004 01:12 GMT
>>The thing I look for
>>is how to set[XXXX] things instead.
>
> This is OO
ok, i give up :-)
The other interesting thing I found out, concearnign my 3rd question, is
that the problem is with the HTML tags inside the displayed text. It
seems that don't work as expected.