use of com.google.classyshark.silverghost.translator.java.JavaTranslator in project android-classyshark by google.
the class DisplayArea method main.
public static void main(String[] args) {
DisplayArea da = new DisplayArea(null);
Translator emitter = new JavaTranslator(StringTokenizer.class);
emitter.apply();
da.displayClass(emitter.getElementsList(), "");
JFrame frame = new JFrame("Test");
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.getContentPane().add(da.onAddComponentToPane());
frame.pack();
frame.setVisible(true);
}
Aggregations