IntelliJ Java IDE
The moose likes Swing / AWT / SWT / JFace and the fly likes Building a custom GUI.... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Building a custom GUI...." Watch "Building a custom GUI...." New topic
Author

Building a custom GUI....

Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
Hello people,
Well, these days I was thinking that I am getting bored of the classic Swing or Windows-like GUIs. OK they are good enough but....
So, does anyone know any tools or links or whatever in the web that will help me build a GUI from the very beggining without using Swing or AWT classes?
Tom.
P.S.: OK, I am asking too much but I know such a thing can be done...
Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
Personally, I would use the swing classes as a basis for my new GUI style by creating a custom look and feel with custom components etc rather than avoiding them. I think it would be a lot of work to start again from scratch. Swing offers good customisation possibilities, you can easily get away from an existing proprietary look and feel by building on the existing components.
regards,
Ben


SCJP 1.4, www.gsi3d.org.uk
Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
Well, OK I know that building something like that from scratch will be very difficult (especially for me) but what I have in mind is not changing the look and feel (colors, backgrounds and so on) but changing the whole stuff (shape of tabbed panes for example or the way menus are shown). Something similar to what M***soft did to her new experienced applications. The problem is that I have not even the slightest idea how to start this....
Tom.
Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
Someone correct me if I'm wrong, but I'm pretty sure what you are after can be done without starting from scratch. Forget changing background colours etc, that's not what I mean. You can actually alter how a component is drawn. So you could, for example, change the design of a tabbed pane or a menu.
Now, I have never done this, but I'm (semi-educated) guessing that you can over-ride a components paint() method with your own Graphics object to create a whole new component.
As a first thought you might define a class called TomsTabbedPane which implements JTabbedPane, then use the paint()method to re-design it.

No doubt someone far more skilled than I would be a better person to comment on how feasible this approach is, but it might be a starting point? If you get anywhere, let me know!
hth
Ben.
Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
Ben, I found a couple of links in another thread in this forum. I have not searched them yet but I think that there are many things to find in there...
Try www.l2fprod.com,www.javootoo.com.
You may also try the original message here.
Tom.
 
 
subject: Building a custom GUI....
 
Threads others viewed
GUI
Swing or another gui solution like c, c++ in banking systems?
Creating a process from Java
Java Question
Change Java GUI Interface
MyEclipse, The Clear Choice