| | |
How to change application design? (custom jFrame, buttons)
Thread Solved |
•
•
Join Date: Feb 2008
Posts: 83
Reputation:
Solved Threads: 4
Hello,
I am trying to design an java desktop application. My question is: Is there a way to change the whole look? From example different titlebar, different jFrame, buttons... (designed with PNG images, transparency, etc.). Is it possible? If so, how? In VB or C# I can easely change those... E.G.: Make the FORM "borderless" then I add my own buttons with background image, etc. It is so important to me... I work on a project that requires not only developing but design too. please help if you can
. Thanks.
I am trying to design an java desktop application. My question is: Is there a way to change the whole look? From example different titlebar, different jFrame, buttons... (designed with PNG images, transparency, etc.). Is it possible? If so, how? In VB or C# I can easely change those... E.G.: Make the FORM "borderless" then I add my own buttons with background image, etc. It is so important to me... I work on a project that requires not only developing but design too. please help if you can
. Thanks. 0
#2 19 Days Ago
You can customize all kinds of things about how the UI appears. A lot is possible with the methods provided by the Swing components, but if that isn't sufficient it's possible to use the the pluggable look and feel and custom UI delegates to gain a greater degree of customization. Here is an overview of that architecture: http://java.sun.com/products/jfc/tsc.../architecture/
•
•
Join Date: Feb 2008
Posts: 83
Reputation:
Solved Threads: 4
0
#3 19 Days Ago
Thanks for the link... however I look for a less complicated way to do this... I found this link: http://pforfun.blogspot.com/2008/11/...-tutorial.html but I don't know if is a good idea. It gives me an exception at this instruction:
Exception:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: The effects for decorated windows are not supported.
at com.sun.awt.AWTUtilities.setWindowOpaque(AWTUtilities.java:389). Thanks for interest in helping me.
Java Syntax (Toggle Plain Text)
AWTUtilities.setWindowOpacity(Window.getWindows()[0], 0.8f);
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: The effects for decorated windows are not supported.
at com.sun.awt.AWTUtilities.setWindowOpaque(AWTUtilities.java:389). Thanks for interest in helping me.
•
•
Join Date: Feb 2008
Posts: 83
Reputation:
Solved Threads: 4
0
#5 18 Days Ago
Thanks Ezzaral. Useful post.
After some hours of searching I think I found how to change the look as I wanted and it's useful for all (who did not find it yet).
The "Synth" Look and Feel: http://java.sun.com/docs/books/tutor...eel/synth.html. It's and XML describing how components / regions can be fully customized
. So I guess I mark this thread as solved now...
Do you know something about "Nimbus" project?
http://java.sun.com/docs/books/tutor...el/nimbus.html
It's based on Synth . I was searching for Nimbus designer but didn't find it yet. Nimbus should be part of java 7 they say.
Thanks again. Have a nice day
After some hours of searching I think I found how to change the look as I wanted and it's useful for all (who did not find it yet).
The "Synth" Look and Feel: http://java.sun.com/docs/books/tutor...eel/synth.html. It's and XML describing how components / regions can be fully customized
. So I guess I mark this thread as solved now...Do you know something about "Nimbus" project?
http://java.sun.com/docs/books/tutor...el/nimbus.html
It's based on Synth . I was searching for Nimbus designer but didn't find it yet. Nimbus should be part of java 7 they say.
Thanks again. Have a nice day
Last edited by Clawsy; 18 Days Ago at 3:15 am.
•
•
Join Date: Feb 2008
Posts: 83
Reputation:
Solved Threads: 4
0
#7 18 Days Ago
I know. As a matter of fact... my project must be made for a "Software Engineering" Course (at University) and I'm leading a team so I was told we must also visually design our application coded (by me) in java. Everyone has a task... so I gave my designer his job to do
. Have a nice day!
. Have a nice day! Last edited by Clawsy; 18 Days Ago at 12:33 pm.
![]() |
Similar Threads
- how to change application into an applet and application (Java)
- problem in JavaBean (Java)
- how to change the application's trust level in the configuration ... (ASP.NET)
- VML Buttons are not working (HTML and CSS)
- Java Frames (JFrame) using the swing class (Java)
- is it possible to change the button design ? (Java)
- confirm window? button labels to change (JavaScript / DHTML / AJAX)
- How to change backround colour in WordXP (Windows Software)
Other Threads in the Java Forum
- Previous Thread: Java
- Next Thread: Mail User Agent
| Thread Tools | Search this Thread |
.net 3d ajax apache api app apple applet application automation bank binary black browser c++ c/c++ class code color community company compare component css deployment design designer desktop developers development distributions dynamic ebook eclipse error firefox fractal froglogic ftp game google gui html india integer iphone java javafx jetbrains jobs julia laptop layout linux mac mandriva method microsoft mobile myaggfun mysql netbeans newbie news novell operatingsystems pearl photoshop problem program programmers programming python redhat review seo set site software sort sorting staticcodeanalysis sun survey swing template testautomation threads time tree ubuntu ui update usercontol vb virtualization web website windows windows7







