package application.myEditor; import java.awt.*; import javax.swing.*; import connector.*; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing GUI Builder, which is free for non-commercial * use. If Jigloo is being used commercially (ie, by a corporation, * company or business for any purpose whatever) then you * should purchase a license for each developer using Jigloo. * Please visit www.cloudgarden.com for details. * Use of Jigloo implies acceptance of these licensing terms. * A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR * THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED * LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE. */ public class MyEditor extends JFrame implements PukiwikiJavaApplication { private JTextArea myTextArea; public MyEditor(){ this.initGUI(); } @Override public String getOutput() { // TODO Auto-generated method stub return this.myTextArea.getText(); // add } @Override public void setInput(String x) { // TODO Auto-generated method stub this.myTextArea.setText(x); // add } @Override public void setSaveButtonDebugFrame(SaveButtonDebugFrame f) { // TODO Auto-generated method stub } private void initGUI() { try { { myTextArea = new JTextArea(); getContentPane().add(myTextArea, BorderLayout.CENTER); myTextArea.setText("myTextArea"); } { this.setSize(344, 298); } } catch(Exception e) { e.printStackTrace(); } } }