NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Draw Lines

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
tinkicker



Joined: 28 Mar 2010
Posts: 3
Location: Tucson, AZ

PostPosted: Sun Mar 28, 2010 11:19 pm    Post subject: Draw Lines Reply with quote

I am very new to Java and Netbeans, coming over from Visual Basic. I am making a very simple desk top applet and I wanted to draw the square root symbol, but have not found a way to do it. I can draw horizontal lines using the separator option, but cannot draw vertical or angled lines with Netbeans.

How is this done.

Thank You

Bob Hancock
Back to top
Mark Wade
Posted via mailing list.





PostPosted: Mon Mar 29, 2010 11:58 am    Post subject: Draw Lines Reply with quote

If I understand what you want to do correctly, use a label. There are
no drawing tools in the GUI designer.

On a Mac, for example, drop a label widget on your form and set it's
text with Option-v (square root symbol). You can change the font size
in the label's properties.

On Mar 28, 2010, at 7:19 PM, tinkicker wrote:

Quote:
I am very new to Java and Netbeans, coming over from Visual Basic.
I am making a very simple desk top applet and I wanted to draw the
square root symbol, but have not found a way to do it. I can draw
horizontal lines using the separator option, but cannot draw
vertical or angled lines with Netbeans.

How is this done.

Thank You

Bob Hancock





Mark Wade
address-removed
Back to top
Mark Wade
Posted via mailing list.





PostPosted: Mon Mar 29, 2010 12:19 pm    Post subject: Draw Lines Reply with quote

That was my first thought and probably the easiest. You could also
use a drawing program to create you symbol, save it as a gif,jpeg,png
or something and then use a widget that accepts an icon, a button or
label or something.

On Mar 29, 2010, at 7:58 AM, Mark Wade wrote:

Quote:
If I understand what you want to do correctly, use a label. There
are no drawing tools in the GUI designer.

On a Mac, for example, drop a label widget on your form and set it's
text with Option-v (square root symbol). You can change the font
size in the label's properties.

On Mar 28, 2010, at 7:19 PM, tinkicker wrote:

Quote:
I am very new to Java and Netbeans, coming over from Visual Basic.
I am making a very simple desk top applet and I wanted to draw the
square root symbol, but have not found a way to do it. I can draw
horizontal lines using the separator option, but cannot draw
vertical or angled lines with Netbeans.

How is this done.

Thank You

Bob Hancock





Mark Wade
address-removed




Mark Wade
address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo