Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Design vs Runtime
Design vs Runtime [message #127224] Fri, 30 June 2006 10:18 Go to next message
Eclipse UserFriend
Originally posted by: radams.omf.net

I apologize if this is off topic. I'm a newbie to JAVA and needing some
help.
I am able to design my gui in VE and runs fine (as a bean). I'm wanting to
incorporate the code into another program (not as a main class though). I
actually have already done this, and it compiles fine in the full
application, but I never see my gui!....not sure how to see it.
thanks very much for any help or direction (web site, etc).
Randy
Taiwan
Re: Design vs Runtime [message #127241 is a reply to message #127224] Fri, 30 June 2006 13:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I presume your class is simply a subclass of Object. In that case you
need a method which will start up your frame. Just creating an Object
subclass won't do that. If you look at the main that the VE produces
when you ask it to create the main at class creation you will see what
is needed to actually show the frame.

Randy Adams wrote:
> I apologize if this is off topic. I'm a newbie to JAVA and needing some
> help. I am able to design my gui in VE and runs fine (as a bean). I'm
> wanting to incorporate the code into another program (not as a main
> class though). I actually have already done this, and it compiles fine
> in the full application, but I never see my gui!....not sure how to see
> it. thanks very much for any help or direction (web site, etc). Randy
> Taiwan
>

--
Thanks,
Rich Kulp
Re: Design vs Runtime [message #127264 is a reply to message #127241] Fri, 30 June 2006 15:26 Go to previous message
Eclipse UserFriend
Originally posted by: radams.omf.net

Rich,
thanks much for your reponse..
Actually the only line that is different is
public static void main(String[] args) {
}
calling the main method...everything else is same.
I think I just need to do my homework a bit more and read up on basic
JAVA...
(quite a jump for me from PASCAL to JAVA!!)
thanks again,
Randy
Re: Design vs Runtime [message #613427 is a reply to message #127224] Fri, 30 June 2006 13:34 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I presume your class is simply a subclass of Object. In that case you
need a method which will start up your frame. Just creating an Object
subclass won't do that. If you look at the main that the VE produces
when you ask it to create the main at class creation you will see what
is needed to actually show the frame.

Randy Adams wrote:
> I apologize if this is off topic. I'm a newbie to JAVA and needing some
> help. I am able to design my gui in VE and runs fine (as a bean). I'm
> wanting to incorporate the code into another program (not as a main
> class though). I actually have already done this, and it compiles fine
> in the full application, but I never see my gui!....not sure how to see
> it. thanks very much for any help or direction (web site, etc). Randy
> Taiwan
>

--
Thanks,
Rich Kulp
Re: Design vs Runtime [message #613429 is a reply to message #127241] Fri, 30 June 2006 15:26 Go to previous message
Eclipse UserFriend
Originally posted by: radams.omf.net

Rich,
thanks much for your reponse..
Actually the only line that is different is
public static void main(String[] args) {
}
calling the main method...everything else is same.
I think I just need to do my homework a bit more and read up on basic
JAVA...
(quite a jump for me from PASCAL to JAVA!!)
thanks again,
Randy
Previous Topic:Design vs Runtime
Next Topic:IllegalStateException recovery
Goto Forum:
  


Current Time: Thu Sep 19 10:36:42 GMT 2024

Powered by FUDForum. Page generated in 0.03828 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top