package genediagram;

public class Gene {
    
    public Gene (String[] details) {
        name = details[0];
        category = details[1];
        direction = (details[2].equals("+")) ? true : false;
        start = Integer.parseInt(details[3]);
        stop = Integer.parseInt(details[4]);
    }
    
    String name;
    String category;
    boolean direction;
    int start;
    int stop; 
}

@@ -15,16 +15,52 @@
 agram;%0A%0A
+//Class for storing gene attributes%0A
 public c
@@ -219,23 +219,8 @@
 +%22))
- ? true : false
 ;%0A  

Update Gene.java