I am writing a text to braille converter. I know how to draw the braille using StdDraw.java ( StdDraw.java ) But now I am using NetBeans for the rest of my program, how can I import StdDraw to NetBeans to run the frame it opens inside the NetBeans GUI I am creating. Or even open another window besides the Netbeans GUI.

Or how could i draw dots, which are coloured in and filled, in Netbeans on a canvas or panel, how does the coordinate system work, and how do I paint the dots?