Transférer les fichiers vers 'src/JsonInspector'
This commit is contained in:
@@ -16,6 +16,7 @@ public class Frame extends JFrame {
|
||||
private Node node;
|
||||
private Tree tree;
|
||||
|
||||
|
||||
public Frame() {
|
||||
super("Inspecteur JSON");
|
||||
tree = new Tree("");
|
||||
@@ -23,6 +24,7 @@ public class Frame extends JFrame {
|
||||
this.setVisible(true);
|
||||
}
|
||||
|
||||
|
||||
public Frame(Node node) {
|
||||
super("Inspecteur JSON");
|
||||
this.node = node;
|
||||
@@ -33,6 +35,7 @@ public class Frame extends JFrame {
|
||||
this.setVisible(true);
|
||||
}
|
||||
|
||||
|
||||
private void init() {
|
||||
this.setSize(DEFAULT_FRAME_SIZE);
|
||||
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
|
||||
@@ -43,6 +46,7 @@ public class Frame extends JFrame {
|
||||
cards.first(this.getContentPane());
|
||||
}
|
||||
|
||||
|
||||
private JPanel firstCard() {
|
||||
GridBagLayout layout = new GridBagLayout();
|
||||
GridBagConstraints gbc = new GridBagConstraints();
|
||||
@@ -71,6 +75,7 @@ public class Frame extends JFrame {
|
||||
return panel;
|
||||
}
|
||||
|
||||
|
||||
private JPanel secondCard() {
|
||||
file = new GraphicFile(this, tree);
|
||||
JButton showButton = new JButton();
|
||||
|
Reference in New Issue
Block a user