Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am developing a java application. I create a menu there are six buttons to operate different operations. The last button should open an html file which I created inside netbeans Developers.html. The name of buttons which is on the actual java application DEVELOPERS. I want this;

When user clicked on the DEVELOPERS button, the program should open Developers.html which is not an actual webpage. It must only work on my computer(localhost.)

Thanks for every answer.
Posted
Comments
Sandeep Mewara 7-Oct-12 9:56am    
And what issue you faced when you tried it?
FoxRoot 7-Oct-12 10:02am    
private void btnDevelopersActionPerformed(java.awt.event.ActionEvent evt) {

}

I want to open this file(developers.html)However I cant find a solution method
FoxRoot 7-Oct-12 10:20am    
I want to direct from classpath

("C:\\Users\\EMRE\\Documents\\NetBeansProjects\\GraduationProject\\src\\graduationproject\\Developers.html");

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900