I'm using a Swing FileChooser in my program, but it doesn't work every time.
Sometimes, it works very fine, and sometimes, ONLY the border of the Choose window is drawn, and the program is blocked without any error. If it happend, I can't do anything, even the close button doesn't work.
// CLASS VARIABLE ( of my class "Main extends PApplet")
I have two needs : be able to draw shadowed or outlined text.
Shadow
I think to do that drawing two times the text,
first time on a buffer (PImage or PGraphics?), where I add "blur" effect + translation
second time without effect.
Maybe you know a faster solution? Does anybody have a code doing that? (to save time)
Outline
I don't see how to outline a text quickly...
I imagine that I can draw the letters one by one, two times each (size+2px at (x-1,y+1) and then size at (x,y), it means calculate the spacing between each letter...
I think it's a bad solution: slow and without any possibility to use text-align and other useful text processing functions...
Who can help me with a good solution?