I am new to java...
i am working in server and client... Its like 1 server send message to many client.
in this i want to make as tree message.the programm is in eclipse and answer must be in APPlet.
i have some coding and with this coding , i want to make it as in tree form......
while ((allLine = in.readLine()) != null) {
allLine = allLine.trim();
JScrollPane sp = new JScrollPane(jp);
sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZO NTAL_SCROLLBAR_ALWAYS);
sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL _SCROLLBAR_ALWAYS);
content.add(sp);
}
}
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2329
posted
0
I'm not sure what "make it in a tree" means. What does this code do, and how does that differ from what you wanted it to do?
As as aside, Eclipse is an IDE, not a server; will you be using some homegrown server that you created, or do you have an app server or servlet container of some kind?
puni doms
Greenhorn
Joined: Feb 06, 2012
Posts: 6
posted
0
This is like in Web page . When ever you add some thing For eg : createing channel english . Then it will be connected to client.
When ever we are running eclipse , the client will show the java client.
the client and java client are in Applet.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2329
posted
0
Sorry, I have absolutely no idea what you intend to do. Maybe you can rephrase it while also giving more detail.