• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Colour chooser and Font Chooser

 
rahul Borkar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I'm new to JSP.
I want to display Java Color chooser on JSP page on click of button.
Also I want to display Font chooser on click of button.
So how to do that?

Thanks,
Rahul
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java code in JSP pages is executed on the server, so you can't use it to display the font or color choosers on the client. If using them is an absolute requirement, then you need to write an applet that's embedded in the web page.
 
rahul Borkar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again,

Thanks very much.

Is there any other way to do this...?
Also, can you provide me Links where I can find help related to write applet for this?

Thanks again,
Rahul
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Sun Java Tutorial has an extensive chapter on applets.

Once you have created the applet you will need to use applet/servlet communication (most likely using HTTP) to get any selected color values/font values to the web app.
[ May 14, 2008: Message edited by: Ulf Dittmer ]
 
rahul Borkar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Ulf,

I eill check with it and again post if I need any help.

Thanks,
Rahul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic