Skip to content

Commit

Permalink
- added headers
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-eof committed Sep 1, 2021
1 parent 2f4dda1 commit 6019e70
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
21 changes: 21 additions & 0 deletions src/main/java/org/isf/telemetry/CheckBoxWrapper.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
* Open Hospital (www.open-hospital.org)
* Copyright © 2006-2021 Informatici Senza Frontiere ([email protected])
*
* Open Hospital is a free and open source software for healthcare data management.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* https://www.gnu.org/licenses/gpl-3.0-standalone.html
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isf.telemetry;

import javax.swing.JCheckBox;
Expand Down
24 changes: 22 additions & 2 deletions src/main/java/org/isf/telemetry/TelemetryGUI.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
* Open Hospital (www.open-hospital.org)
* Copyright © 2006-2021 Informatici Senza Frontiere ([email protected])
*
* Open Hospital is a free and open source software for healthcare data management.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* https://www.gnu.org/licenses/gpl-3.0-standalone.html
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isf.telemetry;

import java.awt.AWTEvent;
Expand Down Expand Up @@ -36,7 +57,6 @@
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.annotation.AnnotationAwareOrderComparator;

// estendere JDialog
public class TelemetryGUI extends JDialog {

private static final long serialVersionUID = 891561833857381224L;
Expand Down Expand Up @@ -68,7 +88,7 @@ public TelemetryGUI(MainMenu parent) {

Dimension mySize = getSize();

setLocation((screensize.width - mySize.width) / 2, (screensize.height - mySize.height) / 2);
setLocationRelativeTo(null);

setResizable(false);
setVisible(true);
Expand Down

0 comments on commit 6019e70

Please sign in to comment.