This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Graphics in NetBeans IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Graphics in NetBeans IDE" Watch "Graphics in NetBeans IDE" New topic
Author

Graphics in NetBeans IDE

J R Hatch
Greenhorn

Joined: Sep 07, 2011
Posts: 26
So it's been recommended to me that I use NetBeans IDE for ease of use in GUI-Swing stuff, and thus I have been working on figuring it out. It is not intuitive for me, at least, but I'm willing to give it a shot.

Does anyone here know how to draw graphics primitives on bean/module containers or other swing elements? Am I fundamentally misunderstanding something again? Should I go back to typing text files and compiling them myself?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

I strongly recommend not using the NetBeans visual designer until you attain a proficiency in Swing coding that qualifies you to read and understand the gobbledygook it generates.

Turn to the Swing tutorials to learn the correct way of Performing Custom Painting. What are "graphics primitives" in your terminology?

Should I go back to typing text files and compiling them myself?

It doesn't take long to learn (and appreciate) the NetBeans code editor features. You'll immediately find the code completion and error highlighting useful, and before long you'll be adding your own code templates etc. to increase your productivity.

And since this is GUI related, I'll move it to the appropriate forum.

luck, db
There are no new questions, but there may be new answers.
J R Hatch
Greenhorn

Joined: Sep 07, 2011
Posts: 26
Darryl Burke wrote:I strongly recommend not using the NetBeans visual designer until you attain a proficiency in Swing coding that qualifies you to read and understand the gobbledygook it generates.

Turn to the Swing tutorials to learn the correct way of Performing Custom Painting.


That makes sense; it was a shortcut. Lazy me.

Darryl Burke wrote:

What are "graphics primitives" in your terminology?


I got that term from the java tutorials; geometric primitives are also called graphic primitives on at least one of their pages, if not more.

Darryl Burke wrote:
Should I go back to typing text files and compiling them myself?

It doesn't take long to learn (and appreciate) the NetBeans code editor features. You'll immediately find the code completion and error highlighting useful, and before long you'll be adding your own code templates etc. to increase your productivity.

Yeah, but I should use them after I've learned stuff for myself.
Darryl Burke wrote:


And since this is GUI related, I'll move it to the appropriate forum.
I'll mark it as resolved anyway.
 
Don't get me started about those stupid light bulbs.
 
subject: Graphics in NetBeans IDE
 
Similar Threads
JTable Spread Sheet
DICOM
how to specify different Java to NetBeans
Practical Swing Applications
how to connect with mysql?