Design vs Runtime [message #127224] |
Fri, 30 June 2006 10:18 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03828 seconds