aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes A very basic applet / swing requirement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "A very basic applet / swing requirement" Watch "A very basic applet / swing requirement" New topic
Author

A very basic applet / swing requirement

sri san
Greenhorn

Joined: Jul 30, 2008
Posts: 18
Hello!

As I'm not much into client side programming, I request for help.

Use case: A html file has as an applet/swing component which has a single line edit box which takes url to a file and a submit button. If button is clicked, program must read file specified as input and display as html file in new browser window.

Requirement: Using Java 1.5, how to display that input file in html format (.html) in a new browser window?

Please help. Thanks much in advance!

--Sannidhi--

Note: A similar post could be found on stackoverflow.com with same subject. To widen inputs, I had posted at two sites.
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2090
    
    7
Be Forthright When Cross Posting To Other Sites

See Using the Desktop API.

sri san
Greenhorn

Joined: Jul 30, 2008
Posts: 18
Hello Rob! Thanks much 4 such an awesome swift reply. After your reply, I noted and corrected my requirement - using java 1.5. My sincere apologies for inconvenience.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A very basic applet / swing requirement
 
Similar Threads
URLConnection & writing HTML back to browser
An Applet that can open a running MS-Paint window and take screen shot?
New browser window
can HTML page be displayed using servlet in app-serv communication
Problem with a swing application