| | |
How to change application design? (custom jFrame, buttons)
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Feb 2008
Posts: 106
Reputation:
Solved Threads: 5
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 Nov 3rd, 2009
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: 106
Reputation:
Solved Threads: 5
0
#3 Nov 3rd, 2009
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: 106
Reputation:
Solved Threads: 5
0
#5 Nov 4th, 2009
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; Nov 4th, 2009 at 3:15 am.
•
•
Join Date: Feb 2008
Posts: 106
Reputation:
Solved Threads: 5
0
#7 Nov 4th, 2009
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; Nov 4th, 2009 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
Views: 853 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for application, component, design, desktop, java
.net 3d ajax apache api app apple applet application array binary black browser c++ class classes code community company compare component convert css deployment design designer desktop developer developers development draw dreamweaver eclipse error event firefox flash ftp game google gui html image images india input iphone java javafx javascript jetbrains jmf jsp julia laptop layout linux loop mac method microsoft mobile mysql netbeans newbie news novell object operatingsystems photoshop php problem program programming project python redhat review security seo set site socket software sort sun survey swing template test time transfer tree ubuntu vb virtualization web website windows windows7







