posted 15 years ago
Hi,
I am trying to compile my source file. I have imported javax.swing.JTabbedPane. While compiling I get an error: cannot resolve symbol symbol: method addTab(java.lang.String, MyLoginPanel)
In my code I have:
tabbedPane = new JTabbedPane(SwingConstants.LEFT);
tabbedPane.addTab("Login", m_oLoginPanel);
where m_oLoginPanel is an object I have previously declared to store the instance of my compiled class MyLoginPanel
Can someone tell me what is going wrong here.
Regards,
Shalaka