• Post Reply Bookmark Topic Watch Topic
  • New Topic

Frame doesn't display

 
J Heaney
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a problem when I am using a class to create a new frame. It works great under XP, but when I run this on win98 it doesn't do anything.
My code is :
if (orderAddWindow != null)
{
orderAddWindow.closeWindow();
orderAddWindow.setVisible(false);
}
orderAddWindow = new OrderAddWindow(this);

public class OrderAddWindow extends JFrame implements ActionListener
{
public OrderAddWindow(OrderDisplayWindow parent)
{// never gets here}

}

Please help if you can - this is all a bit new to me, and very frustrating !

Thanks
Jill
 
KR Campbell
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by J Heaney:

public class OrderAddWindow extends JFrame implements ActionListener
{
public OrderAddWindow(OrderDisplayWindow parent)
{// never gets here}

}


Where *does* it get to?
 
J Heaney
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know. The program carries on running and everything else works, but it just never seems to get into this constructor.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!