Swing GUI

I do not know if any of you has any problems with JME's support with swing… but i'm having issues with swing…

could anyone try to import this window I made on your JME project… I'm having problems once it has been added with ActionListeners

package windows;

import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;

import tools.NumberField;

import Nodes.TerrainModelerNode;

public class resizePlatform extends JPanel implements ActionListener
   private JButton btnConfirm;
   private JButton btnCancel;
   private JTextField txtPlatWidth;
   private JTextField txtPlatLength;
   private TerrainModelerNode app2;
   private resizePlatform thisWindow;
   public resizePlatform(TerrainModelerNode app){
      setLayout (new BorderLayout());
      JLabel label1 = new JLabel("Platform dimensions");
      txtPlatWidth = new NumberField(2);
      txtPlatLength = new NumberField(2);
      btnConfirm = new JButton("Confirm");
      btnCancel = new JButton("Cancel");
      JPanel centerPane = new JPanel();
      centerPane.setLayout(new GridLayout(0,2));
      centerPane.add(new JLabel("  Width"));
      centerPane.add(new JLabel("  Length"));
      JPanel lowerPane = new JPanel();
      lowerPane.setLayout(new GridLayout(0,2));
      add(label1, BorderLayout.NORTH);
      add(centerPane, BorderLayout.CENTER);
      add(lowerPane, BorderLayout.SOUTH);
      thisWindow = this;

   public void actionPerformed(ActionEvent e) {
      // TODO Auto-generated method stub
         int newWidth = Integer.parseInt(txtPlatWidth.getText());
         int newLength = Integer.parseInt(txtPlatLength.getText());
      else if(e.getActionCommand().equals("cancel")){

The fact that you are "having problems" is kind of vague. What sort of problems are you having? Is it throwing exceptions? Do you have a stack trace?