DrawFX – the text tool

It hasn’t be an easy task to add a text tool, but I finally did it. The tool is actually a simple text area (with some customization for hiding the scroll bars) placed into a panel with some buttons (valid and cancel). The tool is not draggable and has the following options:
– Bold
– Italic
– Underline (a bit tricky to make that one work. A solution is proposed here but I used something else)
– Size for the text
– Change the font by using fonts on your system

It is also possible to resize the text area by simply drag the mouse anywhere. Below is a little demo.


7 Responses to DrawFX – the text tool

  1. Pingback: Java desktop links of the week, January 14 | Jonathan Giles

  2. kuleis says:

    Looks great!
    Is DrawFX’s source code available?

  3. buz says:

    Yep very y interesting for learning
    Is source code available ?

  4. Pavan R says:

    Awesome! Did you tried adding orientation as well to the texttool ? Interested to try it, is the source available

  5. Ann says:

    Will the source code ever be available?
    Thank you, great job!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: