Skip to content

Commit 704f3d2

Browse files
committed
Status message changes.
1 parent 61b4543 commit 704f3d2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/coderarjob/kpdfsync/poc/MainFrame.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ public void run() {
569569
statusLabel.setText ("Parsing complete. Select the book title you want to highlight.");
570570
break;
571571
case CLIPPINGS_FILE_PARSE_FAILED:
572-
statusLabel.setText ("Parsing failed. See the errors list or log file" + Log.LOG_FILE);
572+
statusLabel.setText ( "Parsing failed. See the errors list or " + Log.LOG_FILE + " file");
573573
break;
574574
case BOOK_TITLE_SELECTED:
575575
statusLabel.setText ("Associate highlights with corresponding notes (if needed)");
@@ -578,8 +578,14 @@ public void run() {
578578
statusLabel.setText ("Highlighting completed");
579579
break;
580580
case HIGHLIGHT_FAILED:
581-
statusLabel.setText ("Highlighting failed. See the errors list or log file" + Log.LOG_FILE);
581+
statusLabel.setText (
582+
"Highlighting failed. See the errors list or " + Log.LOG_FILE + " file"
583+
);
584+
break;
582585
case PDF_SELECTED:
586+
statusLabel.setText (
587+
"PDF file selected. Now enter the 'threshold' and 'number of pages before page 1'."
588+
);
583589
break;
584590
default:
585591
break;
@@ -601,6 +607,7 @@ public void run() {
601607
browseClippingsFileButton.setEnabled (true);
602608
break;
603609
case BOOK_TITLE_SELECTED:
610+
statusListModel.clear ();
604611
selectBookNameComboBox.setEnabled (true);
605612
browseClippingsFileButton.setEnabled (true);
606613
browsePdfFileButton.setEnabled (true);

0 commit comments

Comments
 (0)