Purchase Solution

Java Jcombobox and another button.

Not what you're looking for?

Ask Custom Question

So I have a question I have been looking but I can't find it. I have a program that copies a file to another via a GUI, and in it you can select if the file being copied is either a textfile or a data file. To make this selection, you press on a jcombobox either "text" or "data". However, the way the program is written right now, clicking on either of those two options instantly triggers that action. Now, what I want to do is FIRST be able to selects the type of file, and THEN have another button that says copy. How can I accomplish this?

I have included my code.

Purchase this Solution

Solution Summary

The expert examines Java Jcombobox and another button using Java.

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Networking Questions

This quiz consists of some basic networking questions.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.