Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Posts
    5
    Rep Power
    0

    Default calling a public void method from a class button

    Java Code:
    class B8 implements ActionListener {
    		public void actionPerformed(ActionEvent e) {	
    			Printdata2 frame = new Printdata2();
    				Printdata2.printStuff();
    		}

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    I think this thread is already here.
    freedom exists in the world of ideas

Similar Threads

  1. Calling a method in another class
    By uncopywritable in forum New To Java
    Replies: 9
    Last Post: 10-22-2012, 05:01 PM
  2. Replies: 5
    Last Post: 01-25-2008, 12:53 AM
  3. Calling method from another class
    By asahli in forum New To Java
    Replies: 1
    Last Post: 12-15-2007, 07:24 PM
  4. public method
    By dirtycash in forum New To Java
    Replies: 4
    Last Post: 11-21-2007, 08:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •