Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
zoladz
zoladz's Profile
2
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
comment recuperé une variable.
[1 Reply]
20-Dec-2011 01:17 AM
Forum:
Programming Questions
how I
can retrieve
my
variable
message
processing
in
knowing what
is in
a library
I
add,
I show you
a piece of code
:
Application.Printer
package
;
public class
Printer
{
String
val;
public void
putline
(String
message)
{
System.out.println (
message);
val =
message;
}
and my
code
processing:
import
Application.Printer
.*;
import
http.client
.*;
import
application.midi
.*;
import
http
.*;
import
application
.*;
import
http.space
.*;
import
http.server
.*;
import
processing.net
.*;
String
st =
"
rayan
";
/
/ String
sf
;
String
you
;
int
x =
200
;
int
d =
15
;
int
trans =
255
;
SpaceServer
s;
PFont
do;
Printer
p;
/ /
Dd
PrinterAdaptator
;
void
setup ()
{
smooth
();
size (
500.500
);
Space
ExampleSpace
example
= new
();
s
= new
SpaceServer
(8080
,
"localhost"
, 80,
example.root
());
new
PrinterAdaptator
(
"printer"
, p);
I try
with:
p.putline
(st)
;
or
st =
p.val
;
its not working
!!!!!!!!!!!!!!!!
help please
integrate my http server in processing
[3 Replies]
04-Dec-2011 12:25 AM
Forum:
Programming Questions
hello,
how to integrate
my
HTTP server
in
processing
please
help me
!
principle:
send
a web page
such as a
hello world
in my
http server,
it contacts
the latter
processing
to
write
hello world
in its
console
«Prev
Next »
Moderate user : zoladz
Forum