Home > Back-end >  For help! How in the new ActionListener import external class files ()?
For help! How in the new ActionListener import external class files ()?

Time:12-29

On the first code: menutool. AddActionListener (new ActionListener () {
//to add click action button, PM after adding new window
Public void actionPerformed (an ActionEvent e) {
//TODO Auto - generated method stub


}

});
I want to be in the public void actionPerformed (an ActionEvent e) to join a computer interface, now the calculator interface has written to another class inside the file, could you tell me how can I put the computer class file imports come to there?

CodePudding user response:

The original poster to stick code:

The correct code is as follows:
 public class Hello {
private String name;
}


-- -- --

Text: the runtime import outside of class is the need to create this, specific to search this how to use,
  • Related