Skip to content

Commit

Permalink
Display in taskbar, always on top
Browse files Browse the repository at this point in the history
Closes #26
  • Loading branch information
ACGaming committed Jun 19, 2024
1 parent 9e6a5f1 commit 5946ef3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ public class SetupDialog extends JDialog {
private CountDownLatch nextLatch;

public SetupDialog(ModpackConfiguration configuration) {
super((Dialog) null);

this.configuration = configuration;

this.nextButton = new JButton("Next");
this.nextButton.addActionListener(e -> nextLatch.countDown());

setTitle(configuration.packName());
setSize(WIDTH, HEIGHT);
setAlwaysOnTop(true);
}

public ProgressPage navigateToProgressPage(String title) {
Expand Down

0 comments on commit 5946ef3

Please sign in to comment.