views:

276

answers:

5

If I have Java program and I need to alter it to an interface and include icons, is there any easy I can do this and is there a good application that can help me to do it ? or do I have to code it in myself?

+2  A: 

Netbeans has a Swing GUI Builder. Quoting from their website. Let's hope this doesn't count has hidden advertising :)

Design Swing GUIs by dragging and positioning GUI components from a palette onto a canvas. The GUI builder automatically takes care of the correct spacing and alignment. Click into JLabels, JButtons, ButtonGroups, JTrees, JTextFields, ComboBoxes and edit their properties directly in place. You can use the GUI builder to prototype GUIs right in front of customers.

Johannes Schaub - litb
Netbeans works pretty well if you start with a netbeans project!
Milhous
+5  A: 

Nop, /me thinks ur need 1337 mad Java programin' skillz!

Translation for the rest of the world: Sorry, you'll need to program in Java.

Added: Hey, what's with the downvotes? He started it! :P Besides - no matter if he wants to add or modify (the original text wasn't clear on this) the UI of a Java program, he will need to program in Java to bring his UI together with the code. There is no miracle tool that can allow you to draw an UI and it will suddenly do what you do.

Vilx-
lol i agree with you. upvoted ^^
Johannes Schaub - litb
+1; this will definitely need at least some code to be written.
Adam Jaskiewicz
+1; you really ought to know how to code teh Java. Once you can do that there's not much point in using GUI builders. It's not like you have to do absolute positioning these days.
Tom Hawtin - tackline
A: 

It's just a website? Well depending on whether it uses CSS you might be able to just modify a .css file. This will only let you modify how the site looks as opposed to works.

See here for an example of how this technology works. However this depends on how css-dependent the website is and it's possible you may still run into some difficulties.

Quibblesome
thanks for the downvote, try checking the comment on the OP or the history of the question.
Quibblesome
+1  A: 

If you want to add a UI to your Java program there are tools to help you, such as the Swing GUI Builder inside of IntelliJ Idea. However, you're still going to have to write the appropriate code to hook into the UI.

Marc Novakowski
A: 

You want to use a Java framework to help you with the UI. For example, you can use JSF (Javaserver faces), which allows you to drag and drop components for a UI onto the site. Otherwise, you can use web programs such as Dreamweaver to design the UI, before coding the backend logic yourself in java.

futureelite7