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
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: 2216
    
    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.
 
wood burning stoves
 
subject: A very basic applet / swing requirement