I am having some difficulties in my program and I am hoping (make that praying) that someone on this board can offer some advice. I am not completely new to java but this is my first experience really using the Swing class. I am making a GUI interface that has a user input panel which I call UserInput. My UserInput class extends JPanel. This is all fine and the panel gets set up, etc. But when I want to send the UserInput panel to another class's constructor that takes a JPanel as an argument I get the following error:<br>C:\jdk1.2.2\bin\Lab7\UserInput.java:39: Incompatible type for constructor. Can't convert UserInput.1 to javax.swing.JPanel.<br>DataNode newDataNode = new DataNode(enterTextField.getText(), this);<br><br>I am making the call to create the new data node from my UserInput class so I assumed that using the "this" would send the UserInput object.<br><br>How can it not convert the UserInput to a JPanel when the user input is a JPanel...<br><br>ARGH !!!! I am sure I am making some newbie assumptions in my code somewhere. Any advice that anyone could offer would be greatly appreciated. If you need any other information about my program, just let me know <br><br>Thanks !!<br>Aleena<br><br>