View Javadoc
1   /*
2    * Copyright 2020-2022 The OSHI Project Contributors
3    * SPDX-License-Identifier: MIT
4    */
5   package oshi.demo.gui;
6   
7   /**
8    * Configuration for the GUI. Ideally would read this information from an external config file, and more items should be
9    * added.
10   */
11  public final class Config {
12  
13      private Config() {
14      }
15  
16      public static final String GUI_TITLE = "Operating System & Hardware Information";
17      public static final int GUI_WIDTH = 800;
18      public static final int GUI_HEIGHT = 500;
19  
20      public static final int REFRESH_FAST = 1000;
21      public static final int REFRESH_SLOW = 5000;
22      public static final int REFRESH_SLOWER = 15_000;
23  }