Reputation: 103
I am very new to java, I have one class ConnectR.java and it has main method, also I have MainApp class which is the main application. so I want to know If I want to click a button in the MAinApp how can I implement the ConnerR.java Class. thank you very mcuh
Upvotes: 1
Views: 110
Reputation: 68715
main
is a special method but still a method. So it can be called like any other method:
//Call ConnectR main method
ConnectR.main(stringarrayinput);
Upvotes: 1