"Andrew said:
I neither know, nor care, what can be don with some IDE
(Take that, as an 'Attitude').
Interesting. But what do you do in that case?
Generate it all on the fly?
That is what the code i started with was doing,
using null layout and generating gui elements on the fly.
But it was just a hack, as even within windows, different
compilers and versions would produce totally different
results and that addNotify() trick, used to get the insets
on a frame object, before it was shown, which is impossible,
was just a dirty trick, not supported by Sun explicitly.
But if you have a complex enough layout,
such as you can create with grid bag, how do you design
your gui graphically?
On the other hand, past experience suggests to me
that the makers of IDE's are smart enough, usually,
to allow you ways to do what 'needs to be done'.
True. Actually, what i found out is that the call to
setLayout was done too late. When i moved it to
the very beginning of frame initialization code,
it all seems to work. Not tested it on other compilers yet.
I don't quite understand all the intricacies of it,
as this is not the main thing by any means.
There is so much real stuff to take care of,
that gui, even though i take a very careful and cautious
approach in designing, is not the main thing in my case.
The specific 'for instance' I am thinking of, is that
I know of a comonent* that was designed in
NetBeans (in the NetBeans *form* *editor*, which
is the NB 'make a GUI' wizard), that itself actively
generates GUI's based on XML descriptions
(which were from a legacy source).
I like that.
Where can i see it? Do you have a reference on it
by any chance?
So, even though a GUI is being actively generated,
it still might be possible to use the usual 'GUI design'
tools that the IDE offers.
Good. Seems to be the best compromise between
both words.
I kinda like borland layout designer, works fine for me
even for grid bag layout, but i wouln't want to be tied
up to code it generates, even though it generates
a perfectly valid code for events, Constraints, etc.
One thing it does is to to use J... components,
and ms vj 2003 version does not support javax classes.
Btw, do you, by any chance, know if i can add javax
libraries to it? I could not figure out where their classes
are. There are not configuration parameters i see,
and i don't even know how to find it. All this "proprietary"
stuff is simply sickening. It drains so much energy
and wastes so much stuff on worrying about not getting
trapped into spider nets they forever weave, it is hard
to believe.
Anyway...
* The SaverBeans SettingsDialog's are generated
from XSS based (XML format), settings descriptors.
The SettingsDialog was designed in the NetBeans
'form editor'.
Oh... You got me excited. Thanks.
I am looking at XML stuff and wrote some code
to convert the usenet articles into nice looking HTML
pages or generate an XML code, but i haven't done
much with XML so far, even though it seems to be
something worth considering. These standard
newsreaders seem to be a stone age in terms of gui.
Where can i see this stuff and how big it is to download?
Can you tell me?
Unfortunately, i do not like to get tied up into any
software manufacturer's proprietary approach and i am
not looking at netbeans at the moment. Don't even know
what it is. It is just strictly java stand alone approach.
Not even meant to be run in any kind of browser or
whatever those "beans" may want.
I like the code to work on just about any operating system
and with just about any compiler out there, going back
to year 2000 and i am crosschecking my code constantly
on different compilers and versions to make sure i don't get
trapped into their proprietary designs and architectures.
Thats the way i like it. Take it as an attitude :---}
I have no need to use the javax, which i consider to be
a booboo on the first place.
How can you call something extension, if it has exactly the
same components as the stanard AWT, only slightly improved upon?
You just fix the bugs and add more functionality to AWT libraries
instead of creating extensions that are not extensions on the
first place. And now, with all this arm wresting between
the ms and sun, on some versions of compilers, javax is
supported, such as msjv++ 6, and on 2003 version, they are
abscent altogether. I am not even sure what is the latest version
of ms java and what does it include and what not.
When you look at borland compiler, so far, i haven't seen
a notion of stand alone executable, which means...
which means that you are going to force your user
to download gigabytes of stuff from sun or borland
before they can even run your program. This stuff is
simply sickening. Sun is also doing its number on screwing
things up and making it as "proprietary" as impossible.
So...
You are kinda walking on a mine field with all their
"business strategies" of sucking people into their own traps.
I am simply sick of it all. Looks like, 70% of time you spend not
on designing and coding, but on worrying what kind of trap
you may fall into.
This whole jvm stuff is simply insane, thanks to sun.
They want it to look like that all the roads to heaven lie
thru their proprietary trips and, instead of simply making
a stand alone executable, just like any program out there,
you have to worry about virtual machines and all that jazz,
no mortal user would even be interested in hearing about.
I am running under windows primarily, there is too much
stuff i have working under it, so i am tied up to it.
Would love to switch to linux, well,kinda, but some code
i wrote i device drivers and the linux and window worlds
are universes appart. Secondly, i am happy with windows
GUI overall. The last time i looked at linux and all that
X-stuff, it was kinda stone age level, cludge as it gets.
Looks kinda ok, but only on the first look.
But i haven't looked at it lately.
Anyway, thanks for your feedback.