OK so I'm asking for some help here and looked through the topics and nothing was close to this question so if anyone could help it would be greatly appreciated... thanks...
I'm trying to make an Graphical User Interface in java for a java program and I'm using an applet...right...right
So there are different "windows" in this user interface. Three to be exact and I want to have buttons that would link to each window...
So I made the buttons...
So I made a mouse clicked method so that when you clicked the button something would happen and wasn't sure what to do after that...
Here's the mouse clicked code:
private void jButton8MouseClicked(java.awt.event.MouseEvent evt)
{
// Add your handling code here:
}
So I want it to make another applet window open that is a given file name, how do I do that?
On a separate note I couldn't make the applet open to the size I wanted because I couldn't find out where to put the set width and set height variables...
Thanks so much in advance and you guys have allways helped out in the past don't let BF2 die...
I'm trying to make an Graphical User Interface in java for a java program and I'm using an applet...right...right
So there are different "windows" in this user interface. Three to be exact and I want to have buttons that would link to each window...
So I made the buttons...
So I made a mouse clicked method so that when you clicked the button something would happen and wasn't sure what to do after that...
Here's the mouse clicked code:
private void jButton8MouseClicked(java.awt.event.MouseEvent evt)
{
// Add your handling code here:
}
So I want it to make another applet window open that is a given file name, how do I do that?
On a separate note I couldn't make the applet open to the size I wanted because I couldn't find out where to put the set width and set height variables...
Thanks so much in advance and you guys have allways helped out in the past don't let BF2 die...