// Path: SocketCalculator/src/main/java/socketcalculator/Operation.java
// enum OperationType {
//     ADD, MULTIPLY, DIVIDE, SUBTRACT
// }


import socketcalculator.Operation.OperationType;
import javax.swing.*;
import java.awt.*;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
package socketcalculator;



/**
 * Client of calculator with Swing based GUI
 */
public class Client extends JFrame {
    private JTextField txtNumber1 = null;
    private JTextField txtNumber2 = null;
    private JLabel lblResult = null;
// Path: SocketCalculator/src/main/java/socketcalculator/Operation.java
// enum OperationType {
//     ADD, MULTIPLY, DIVIDE, SUBTRACT
// }


// Path: SocketCalculator/src/main/java/socketcalculator/Client.java
import socketcalculator.Operation.OperationType;
import javax.swing.*;
import java.awt.*;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;

package socketcalculator;



/**
 * Client of calculator with Swing based GUI
 */
public class Client extends JFrame {
    private JTextField txtNumber1 = null;
    private JTextField txtNumber2 = null;
    private JLabel lblResult = null;
    private JComboBox<Operation.OperationType> cmbOperation = null;