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)
   input from keyboard
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: input from keyboard  (Read 661 times)
marcello

WWW Email
input from keyboard
« on: Jul 16th, 2004, 10:35am »

Hi,
I would like to add in my P5 sketches little rectangular windows where, using keyboard, it is possible to give numerical and text input to my programs. Is there someone that has already programmed some particular class that does that? Also, where could I look in the web for this feature?
 
Marcello
 
marcello

WWW Email
Re: input from keyboard
« Reply #1 on: Jul 16th, 2004, 11:15pm »

...maybe the solution could be in some java command. Is there someone who knows where I could find something that solves my problems?
 
Thanksin advance,
marcello
 
marcello

WWW Email
Re: input from keyboard
« Reply #2 on: Jul 17th, 2004, 12:01pm »

Ok! I'm going to develope myself something that could solve the problem i talked about in my previous posts. If I'll get some decent code I'll post here the results.
 
Best Regards,
Marcello
 
marcello

WWW Email
Re: input from keyboard
« Reply #3 on: Jul 18th, 2004, 7:21pm »

"if you want a thing, do it yourself"
 
Here is a very simple class i've programmed to have input window's in P5 sketches.
 
http://web.tiscali.it/jeckyll/P5/textWindow/
 
I've also used the glen murphy's FastText.
 
The code it isn't so "sexy" nevertheless it works fine.
 
Please feel free to use or modify it.
 
Best Regards,
Marcello
 
fjen

WWW
Re: input from keyboard
« Reply #4 on: Jul 24th, 2004, 9:36am »

hmm. somehow the link doesn't work for me (Safari, OS X). i get the tiscali banner and an empty frame below ... can you check that?
 
works on IE though ..
« Last Edit: Jul 24th, 2004, 12:07pm by fjen »  
Bijeoma

myloveiloved
Re: input from keyboard
« Reply #5 on: Jul 24th, 2004, 10:03am »

works well.  
 
-bryan
 
marcello

WWW Email
Re: input from keyboard
« Reply #6 on: Jul 24th, 2004, 12:47pm »

on Jul 24th, 2004, 9:36am, fjen wrote:
hmm. somehow the link doesn't work for me (Safari, OS X). i get the tiscali banner and an empty frame below ... can you check that
 
works on IE though ..

 
Oh! I'm sorry. I really don't know what the problem could be. I've prepared an example with code strongly commented, and the link is here:
 
http://www.geocities.com/prof_falco/P5/example/
 
It is still a free account with advertisement, but it should be less annoying than the tiscali account.
 
Let me know if it works.
 
Best Regards,
Marcello
 
P.S. This time the class TextWindow is sligtly different than before. I've added some other functions. The detailled documentation is at the end of the example's code.
« Last Edit: Jul 24th, 2004, 12:48pm by marcello »  
fjen

WWW
Re: input from keyboard
« Reply #7 on: Jul 24th, 2004, 12:55pm »

now it works like a charm ... thanks.
 
Pages: 1 

« Previous topic | Next topic »