Of course it is possible, but it will take quite a lot of work. One thing is the looks,
the other thing is the code that is going to respond to this gui. Creating the gui
requires, in my opinion, a high level of proficiency in java swing, and showing "a code
or 2" for this is not just like that. The interactive graphics alone is a big job.
This represents hundreds of lines of code.
i see... thanks for the reply. i just want to know if i can really customize the java swing's look.. is swing the only one that i can customize? can i customize the look and feel of awt?
I'm not sure what degree of "costumization" you want to do, basically you can start
with a plain empty JPanel and code the whole paintjob for your entire application,
but I would not recommend it.
But, I wouldn't dream of using awt for the layout you've posted here.
By "paintiing the gui" I meant all of it; textfields, scrollbars, listboxes,
comboboxes (good luck), trees, tables.... Doing that will be a waste of time. Better
to learn the swing concepts and customize the stuff you want to make fancy looking,
like subclassing.
how does subclassing work? is there a tutorial on subclassing?
Subclassing (or extending) existing classes is the very core of Java. A java
program that doesn't extend any other classes can't be made. Even if you
make a program like this
Code:
public class DeadSimple {
public static void main (String [] args) {
System.out.println("Im so simple");
}
}
..the DeadSimple class is by default extending java.lang.Object, - the father
of all Java classes.
Bookmarks