corejava第10版
This commit is contained in:
1 parent
2021c3c227
commit
6165543dd3
1088 files changed
+94411
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package treeModel;
|
||||
|
||||
import java.awt.*;
|
||||
import javax.swing.*;
|
||||
|
||||
/**
|
||||
* This program demonstrates how to use a custom tree model. It displays the fields of an object.
|
||||
* @version 1.05 2016-05-10
|
||||
* @author Cay Horstmann
|
||||
*/
|
||||
public class ObjectInspectorTest
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
EventQueue.invokeLater(() ->
|
||||
{
|
||||
JFrame frame = new ObjectInspectorFrame();
|
||||
frame.setTitle("ObjectInspectorTest");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.setVisible(true);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user