A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Aug 29, 2006
Nov 04, 2006 12:00:00
iam having a class called first.java which uses frames and menus, when Click the menu item name file, new class called second.java is executed, but it opens in a new window, i want the first.java container to display the execution of second.java
Joined: Jun 09, 2003
Nov 04, 2006 14:20:00
whatever displays in first.java, is card(0), then, instead of a frame for
second.java, use a
, then add second.java as card(1)
the actionListener for the menuItem just has card.next(..), to display second.java
can object only be created in classes with a "main"?
Is possible to get variable name in java?
packages and import
doubt ->Accessing from default package
How to use package?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014