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
   Programs
(Moderators: fry, REAS)
   dividing the applet into panels
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: dividing the applet into panels  (Read 286 times)
apreetha


dividing the applet into panels
« on: Feb 22nd, 2004, 10:05pm »

Hi,  
I would like to know how to divide the BApplet's window area into panels .  
 
Thanks
 
Euskadi


Re: dividing the applet into panels
« Reply #1 on: Feb 26th, 2004, 3:44am »

Sort of a brute force method... I did this in a way by defining an area at the top of my app (call it noscrollT, for no-scrolling top) and an area on the left (call it noscrollL for no-scrolling left). And of course what is left is a smaller rectangle in the lower right of the app that -- you guessed it -- scrolls.
 
The last thing I do is draw a rectangle over the top and left sections, that covers up anything that might have scrolled into those panes out of the scrolling zone.
 
The result looks like I have panels or frames (I assuming this is what you're going for).
 
barikan

Email
Re: dividing the applet into panels
« Reply #2 on: Feb 28th, 2004, 9:15pm »

I've been working on an issue like this. i need to display the camera view in a particular area in the applet window. Then i'll use other areas for interface etc.
 
please see my effort here
http://processing.org/discourse/yabb/board_Programs_action_disp_lay_num_1076445496.html
 
Euskadi


Re: dividing the applet into panels
« Reply #3 on: Mar 3rd, 2004, 4:10am »

Barikan, I replied to your other message with a few lines you can try out as an example.
 
Pages: 1 

« Previous topic | Next topic »