I was wondering if anybody could help me validating a text file from a JFileChooser I want it to select only certain 'cases' i've attempted to do this with the switch statement but i'm lost, then placing the validated text into the Jtextarea at the bottom, then from there draw it in on the canvas (dark grey area). I've tried repeatedly and I'm truly lost if anybody could adjust my code accordingly or point me in the right direct. Will pay if required just pm me your skype name (y)
InstructionsPanel.java
pastebin.com/ufz6cdQ3
DrawingAssignment.java
pastebin.com/r84vFnVT
GraphicsPanel.java
pastebin.com/SrddUBHp
Load text file.txt
InstructionsPanel.java
pastebin.com/ufz6cdQ3
DrawingAssignment.java
pastebin.com/r84vFnVT
GraphicsPanel.java
pastebin.com/SrddUBHp
Load text file.txt
Code
LINE 100 100 // Corresponds to draw LINE at X and Y
MOVE 30 40 // Corresponds to move pen to X and Y
COLOR 255 100 10 // corrosponds to setting the color of pen to correct RGB colors

