jpanel.add(new Label("y"));
jpanel.add(new Label("x"));
jpanel.add(new Label("y"));
Container container1 = new Container();
container1.setLayout(new GridLayout(0, 2));
DropButton dropbutton = new DropButton(DropButton.DECODER);
DropButton dropbutton1 = new DropButton(DropButton.ENCODER);
container1.add(dropbutton);
container1.add(dropbutton1);
container.add(container1);
JTextArea jtextarea = new JTextArea(3, 3);
JScrollPane jscrollpane = new JScrollPane(jtextarea);
jtextarea.setEditable(false);
jtextarea.append("Drop the file(s) you want to process on one of the buttons above\n");
jtextarea.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
container.add(jscrollpane);
JButton jbutton = new JButton("Help");
jbutton.setAlignmentX(0.5F);
jbutton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent actionevent)
{
JOptionPane.showMessageDialog((Component)actionevent.getSource(), "Written by Taktaal\n\nSend bug reports to taktaal@gmx.net\n\nIf you think you found a bug please\nremember to attach the error.txt\nthat the program creates on a crash\nas well as any image file that leads to an error");
}
});
container.add(jbutton);
dropbutton.setStatusControl(jtextarea);
dropbutton1.setStatusControl(jtextarea);
jframe.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent windowevent)
{
System.exit(0);