This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JPanel Problem with JInternaelFrame ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JPanel Problem with JInternaelFrame ?" Watch "JPanel Problem with JInternaelFrame ?" New topic

JPanel Problem with JInternaelFrame ?

Jan Michael Soan
Ranch Hand

Joined: Feb 08, 2003
Posts: 36
Hello Everyone;
I have problem with viewing a JPanel with a JInternalFrame, my intention is to click a menuitem which is named item10, then view a JPanel object which should be displayed in a JInternalFrame but after trying the codes below I recieve a null pointer execption.
x's : I declared : static Login pass;
Problem Codes :
item10.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent h)
pass = new Login();
JInternalFrame f1 = new JInternalFrame("Login . . .", true,true,true,true);
Hope Someone would reply, thanks !
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JPanel Problem with JInternaelFrame ?
It's not a secret anymore!