Inventory.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class Inventory extends JPanel{
  
public Inventory(){}

  
public static void main(String[] args) {
    JFrame f = 
new JFrame("Assets Maintenance (Inventory) Details Form");
    f.addWindowListener(
new WindowAdapter() {
      
public void windowClosing(WindowEvent e) { System.exit(0); }
    });
    f.setSize(
1024,768);
    f.setLocation(
0,0);
    f.setContentPane(
new Inventory());
    f.setVisible(
true);
  }
}
Java2html