Hello everyone!
My name is Uriel, and I'm from the Philippines.

I'm currently doing our machine problem in Java. I'm using the BoxLayout for this GUI.

I can't seem to find the correct set of codes to make these buttons function. What codes do I use for these buttons in order for them to function?

Thanks a lot guys...

Uriel

Making the buttons work has nothing to do with which LayoutManager you use. Regardless of layout you use an ActionListener to make a method that will execute when the button is clicked. Google ActionListener for loads and loads of examples of how to set this up.

Making the buttons work has nothing to do with which LayoutManager you use. Regardless of layout you use an ActionListener to make a method that will execute when the button is clicked. Google ActionListener for loads and loads of examples of how to set this up.

Thanks for the tip...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.