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 → |
Superb information here, ol’e chap; keep burning the midinhgt oil.
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!
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.
Download link fixed
Thanks for that tutorial!
I would be very interested with downloading that source code bundle but unfortunately it is not available anymore.
The source code for this project is very rudimentary. It might have been removed from Google Drive by mistake. If you are interested. I will try dig it out of my machine and put it under the download page
download link fixed
Hallo Jessica,
please i don´t found the link to download the projekt under the Download page. could you explain me exatly,where it is.
The link (at the end of the article) works fine for me. Try again?
Hi all, the download link has been fixed.