Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How do you create a Swing GUI application using VE?
How do you create a Swing GUI application using VE? [message #95429] Thu, 30 June 2005 18:55 Go to next message
Jeff Lynn is currently offline Jeff LynnFriend
Messages: 12
Registered: July 2009
Junior Member
Will someone show me what is needed to invoke the Java Bean Class build
using VE?

I followed the steps to build the Say Hello Bean class and is able to run
it successfully under Eclipse VE environment via the "Run as Java Bean"
menu item.

But how do I run it outside of the Eclipse envirment, like

java -cp d:\VEDemo; SayHello

Thanks for any info!

JML
Re: How do you create a Swing GUI application using VE? [message #95488 is a reply to message #95429] Thu, 30 June 2005 19:49 Go to previous messageGo to next message
Jeff Lynn is currently offline Jeff LynnFriend
Messages: 12
Registered: July 2009
Junior Member
I got it! What I was missing was the setVisible(true) method in the
initialize method.

Somehow the setVisible(true) was not need when invoked under Eclipse run
as Java bean.

jml
Re: How do you create a Swing GUI application using VE? [message #95515 is a reply to message #95488] Thu, 30 June 2005 20:08 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That's because the run as java bean is simply to see how it looks. So it
makes sure it is visible. In fact if it was a JPanel, we would of
created a JFrame to go around it for the run as java bean.

JML wrote:
> I got it! What I was missing was the setVisible(true) method in the
> initialize method.
>
> Somehow the setVisible(true) was not need when invoked under Eclipse run
> as Java bean.
>
> jml
>

--
Thanks,
Rich Kulp
Re: How do you create a Swing GUI application using VE? [message #608132 is a reply to message #95429] Thu, 30 June 2005 19:49 Go to previous message
Jeff Lynn is currently offline Jeff LynnFriend
Messages: 12
Registered: July 2009
Junior Member
I got it! What I was missing was the setVisible(true) method in the
initialize method.

Somehow the setVisible(true) was not need when invoked under Eclipse run
as Java bean.

jml
Re: How do you create a Swing GUI application using VE? [message #608873 is a reply to message #95488] Thu, 30 June 2005 20:08 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That's because the run as java bean is simply to see how it looks. So it
makes sure it is visible. In fact if it was a JPanel, we would of
created a JFrame to go around it for the run as java bean.

JML wrote:
> I got it! What I was missing was the setVisible(true) method in the
> initialize method.
>
> Somehow the setVisible(true) was not need when invoked under Eclipse run
> as Java bean.
>
> jml
>

--
Thanks,
Rich Kulp
Previous Topic:Create Remote VM for Visual Editor for Java
Next Topic:Start of a data binding framework released--help requested
Goto Forum:
  


Current Time: Thu Apr 25 22:15:01 GMT 2024

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

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

Back to the top