~yrke/tapaal/removeNetType

« back to all changes in this revision

Viewing changes to src/dk/aau/cs/gui/smartDraw/SmartDrawDialog.java

MergedĀ lp:~yrke/tapaal/testbranch-syntaxOnlyChanges

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
import pipe.gui.graphicElements.PetriNetObject;
41
41
 
42
42
public class SmartDrawDialog extends JDialog {
43
 
        private static final long serialVersionUID = 6116530047981607501L;
44
 
        
45
 
        
 
43
 
46
44
        private static String getHelpMessage(){ 
47
45
                // There is automatic word wrapping in the control that displays the text, so you don't need line breaks in paragraphs.
48
46
                StringBuffer buffer = new StringBuffer();
124
122
        int minimumIterations = 3;
125
123
        
126
124
        private Timer timer = new Timer(1000, new AbstractAction() {
127
 
                private static final long serialVersionUID = 2126744033604698592L;
128
 
 
129
125
                public void actionPerformed(ActionEvent e) {
130
126
                        timerLabel.setText("Time elapsed: " + (System.currentTimeMillis() - startTimeMs) / 1000 + " s");
131
127
                }