Question: Java file IO & exception handling HELP What I have started: import java.io.*; import java.net.*; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.TextField;

Java file IO & exception handling HELP

Java file IO & exception handling HELP What I have started: import

java.io.*; import java.net.*; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import

What I have started:

import java.io.*;

import java.net.*;

import javafx.application.Application;

import javafx.event.ActionEvent;

import javafx.event.EventHandler;

import javafx.scene.Scene;

import javafx.scene.control.TextField;

import javafx.scene.control.TextArea;

import javafx.scene.layout.VBox;

import javafx.stage.Stage;

import javafx.scene.text.Font;

import javafx.scene.text.TextAlignment;

import javafx.geometry.Insets;

import javafx.geometry.Pos;

import javafx.concurrent.Task;

public class GUIClient extends Application{

private ObjectOutputStream output;

private ObjectInputStream input;

private String myServer;

private Socket client;

private String message = "";

private TextField enterField;

private TextArea displayArea;

public static void main( String[] args ){

launch( args );

}

public void start(Stage primaryStage){

}

For this project you will be creating two programs, a client and a server. These programs will communicate with each other using Sockets. The server's role is to provide information about how many of a certain item is in stock. The client's role is to provide the user a means of interacting with the server. For data, create a.CSV file using the below data: item-id,name, quantity ap, apple,11 or,orange, 27 kw, kiwi,30 bn, banana, 124 ph, peach:45 sb,strawberry, 598 ch, cherry,201 bb, blueberry, 321 gp, grape,25 wm, watermellon, 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!