NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
tinkicker
Joined: 28 Mar 2010 Posts: 3 Location: Tucson, AZ
|
Posted: Sun Mar 28, 2010 11:19 pm Post subject: Draw Lines |
|
|
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.
|
Posted: Mon Mar 29, 2010 11:58 am Post subject: Draw Lines |
|
|
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.
|
Posted: Mon Mar 29, 2010 12:19 pm Post subject: Draw Lines |
|
|
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 |
|
 |
|
|
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
|
|