< Back

Lecture 18 - Java File I/O


Esoteric "Today"


Activity

Modify the ConvexHullPanel.java program to read in a list of points from a text file. Your text file should be of the following form:

# of points
point_x point_y
...
...
...

So a very simple input would look like:

3
10.0 0.0
0.0 0.0
0.0 10.0
Use this to test: ConvexHull.java