• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling a .hnd in my Swing program.

 
Gopal krushna Das
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can i call a .hnd file(help) file in my swing program.When i will click in help button in my swing program it will call this help file.
Here is my coading


btnHelp.setText("Help");
btnHelp.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
btnHelp_actionPerformed(e);
System.out.println("Help");
}

});


Please guide me.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what a "hnd" file is, but what does it mean to "call" it? Is there a viewer component to display them in a Java application? Or do you want to run an external application?

Also, please CarefullyChooseOneForum. This one is about JSP, which has nothing to do with Swing applications. I'll move it to a more appropriate forum.
[ August 13, 2008: Message edited by: Ulf Dittmer ]
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
same as you'd call any app.?

Runtime.getRuntime().exec(...)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!