Building Swing GUIs with an IDE

Hello,

I'm having trouble finding some good tutorials on building GUIs with an IDE; I'm currently using NetBeans but their tutorials are too simple for what I need. I'm not very interested in coding everything, I'd prefer the IDE to do some work for me as I'm only using Java for building the interface for a Prolog program. Can anyone post some good tutorials on, say, building Swing applications with Netbeans/JBuilder/any other?

Thanx in advance! :)
LVL 1
bass20Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zzynxSoftware engineerCommented:
>> I'm currently using NetBeans but their tutorials are too simple for what I need.
Nevertheless the tutorial http://www.netbeans.org/kb/articles/form_getstart36.html is all you need. Just extrapolate.
0
bass20Author Commented:
I already went through that tutorial, I wanted something that would cover some more Swing classes...
0
zzynxSoftware engineerCommented:
All the classes you need are available in netBeans From Editor
Maybe this helps: http://java.sun.com/docs/books/tutorial/uiswing/
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

bass20Author Commented:
I have all the JAva documentation on my computer, that's not what I'm looking for...
0
valcarCommented:
I am unsure of how many Java IDE's you have used, but the most they will generally do for you is let you lay out elements (clearly add the code for them) and create stubs for actions on those elements.   I don't know exactly how much work you would like them to do for you but I don't think you will find what you want.  There is no IDE for Java that I know of that appoaches something like what the IDE for Visual Basic does for you.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zzynxSoftware engineerCommented:
>> I wanted something that would cover some more Swing classes.
You do know the netBeans menus
       Window > GUI editing > Palette
and
       Window > GUI editing > Inspector
don't you?
What would you want more?
0
bass20Author Commented:
"What would you want more?"

What I wanted more is precisely what I asked on this thread...
0
bass20Author Commented:
I agree with you valcar, thank you for your input.
0
zzynxSoftware engineerCommented:
:)
0
bass20Author Commented:
I remain with a problem on this; I'm currently using JBuilder and Netbeans (whatever fits better ;P) but I'm not sure I can do what I need with Swing; I need some class that looks like the JTable but that will allow me to select individual cells and set their background to an image - from what I read on the API JTable doesn't do this, is there any other class that does?


Thanx in advance! :)
0
zzynxSoftware engineerCommented:
JTable is able to do that!
That is: you'll have to write your own table cell renderer. Then you can "render" each cell the way you want.
0
bass20Author Commented:
Hum...I've been through the documentation (http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#renderer) again...have you ever seen it done? Setting an image (some jpeg or gif) as a cell background?
0
valcarCommented:

Check out http://javaalmanac.com/egs/javax.swing.table/CustRend.html 
 for an example of  a custom CellRenderer.  Where it calls setText(), instead just call setIcon() on the ImageIcon of the Image you want to display.
 
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.