Beispiel #1
0
 void loadProperty() {
   setSize(
       Integer.parseInt(JpcapDumper.JDProperty.getProperty("WinWidth", "400")),
       Integer.parseInt(JpcapDumper.JDProperty.getProperty("WinHeight", "400")));
   setLocation(
       Integer.parseInt(JpcapDumper.JDProperty.getProperty("WinX", "0")),
       Integer.parseInt(JpcapDumper.JDProperty.getProperty("WinY", "0")));
 }
Beispiel #2
0
  void saveProperty() {

    JpcapDumper.JDProperty.put("WinWidth", String.valueOf(getBounds().width));
    JpcapDumper.JDProperty.put("WinHeight", String.valueOf(getBounds().height));
    JpcapDumper.JDProperty.put("WinX", String.valueOf(getBounds().x));
    JpcapDumper.JDProperty.put("WinY", String.valueOf(getBounds().y));

    this.tablePane.saveProperty();

    JpcapDumper.saveProperty();
  }