FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   Dialog box
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Dialog box  (Read 277 times)
inadaze


Dialog box
« on: Nov 14th, 2004, 12:20am »

Hi,
I was wondering if there was a way to open a dialog box in processing?  I would like to be able to create a button, that when pressed, allows the user to choose the background image in the applet.
 
Thanks
Jay
 
cello

marcello3d WWW
Re: Dialog box
« Reply #1 on: Nov 14th, 2004, 2:05am »

Yes it is possible, if you jump into the realm of Java programming.  You can pull up an AWT Frame or Dialog, add AWT components (or Swing if you want to require Java 2 plugin), and go wild.
 
Alternatively, you could do something funky with JavaScript by means of popping up a browser window that talks to your applet.
 
Marcello
 
Pages: 1 

« Previous topic | Next topic »