File tree 3 files changed +236
-381
lines changed
3 files changed +236
-381
lines changed Original file line number Diff line number Diff line change @@ -456,9 +456,9 @@ protected void onProgress(Progress progress) {
456
456
}
457
457
458
458
// Error during build or upload
459
- int res = editor .status .mode ;
460
- if (res == EditorStatus .ERR )
459
+ if (editor .status .isErr ()) {
461
460
System .exit (1 );
461
+ }
462
462
463
463
// No errors exit gracefully
464
464
System .exit (0 );
Original file line number Diff line number Diff line change @@ -250,9 +250,9 @@ public void windowDeactivated(WindowEvent e) {
250
250
// For rev 0120, placing things inside a JPanel
251
251
Container contentPain = getContentPane ();
252
252
contentPain .setLayout (new BorderLayout ());
253
- JPanel pain = new JPanel ();
254
- pain .setLayout (new BorderLayout ());
255
- contentPain .add (pain , BorderLayout .CENTER );
253
+ JPanel pane = new JPanel ();
254
+ pane .setLayout (new BorderLayout ());
255
+ contentPain .add (pane , BorderLayout .CENTER );
256
256
257
257
Box box = Box .createVerticalBox ();
258
258
Box upper = Box .createVerticalBox ();
@@ -326,12 +326,12 @@ public void windowDeactivated(WindowEvent e) {
326
326
// hopefully these are no longer needed w/ swing
327
327
// (har har har.. that was wishful thinking)
328
328
// listener = new EditorListener(this, textarea);
329
- pain .add (box );
329
+ pane .add (box );
330
330
331
331
// get shift down/up events so we can show the alt version of toolbar buttons
332
332
textarea .addKeyListener (toolbar );
333
333
334
- pain .setTransferHandler (new FileDropHandler ());
334
+ pane .setTransferHandler (new FileDropHandler ());
335
335
336
336
// System.out.println("t1");
337
337
You can’t perform that action at this time.
0 commit comments