Create Custom Widgets using InkScape and NetBeans Visual Library

This blog entry shows one how to create a special widget using InkScape and NetBeans Visual Library. This is part of my effort to create a Java-based implementation of MIT’s Scratch, which is implemented in Squeak Smalltalk.

Step 1 Create JScratch Block Graphics:

First I created the image using Inkscape (steps to follow), import the image to IDE, then create two LayerWidgets, one transparent, and another opaque. Add the image to the background LayerWidget, adn the Swing component to the front LayerWidget. Finally, use the BorderFactory.createEmptyBorder function to limit the size of the swing component at the front layer.

To create the Scratch blocks, I used InkScape, the Open Source SVG editor. Here are the steps I took to create the graphic:

| | | Next → |

10 thoughts on “Create Custom Widgets using InkScape and NetBeans Visual Library”

  1. Thanks for that tutorial!

    I would be very interested with downloading that source code bundle but unfortunately it is not available anymore.

    Can you upload it another time, or maybe send them directly to me, I would be really gratefull.

    Thanks in advance!

  2. Thanks for that tutorial!
    I would be very interested with downloading that source code bundle but unfortunately it is not available anymore.

    Can you upload and send “source code bundle “directly to me, you can send it to my e-mail “phani2431@gmail.com” .I would be really gratefull.

  3. Thanks for that tutorial!
    I would be very interested with downloading that source code bundle but unfortunately it is not available anymore.

Leave a Comment