Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE only shows ContentPane
VE only shows ContentPane [message #106853] Sat, 17 September 2005 00:28 Go to next message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
The visual editor appears to be functional, but it is only showing the
JFrame. All the components that are assigned to the JFrame's contentPane do
not appear. This occured after I reverted back to a previous eclipse
configuration because the JBoss Workflow IDE doesn't get along with
MyEclipse. That is a long story.

When I put the mouse over the displayed JFrame, I get a message (I wish it
would stay up). The message is:
------------
contentPane:java.lang.IllegalArgumentException(IWAV0167E access by method
name(getContentPane) (not by Proxy) requires a receiver.)
------------

I don't think I ever saw this message before, so I assume it is telling what
the problem is. The GUI compiles and runs. I just can't get the VE editor
back. Can someone suggest how I might get the visual editor of this JFrame
back?

--
Bud Curtis
Colorado Springs, CO
Re: VE only shows ContentPane [message #106928 is a reply to message #106853] Sat, 17 September 2005 14:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Try it in a config with only Eclipse SDK 3.1, VE 1.1.0.1, EMF 2.1, and
GEF 3.1. MyEclipse is often different levels of these projects and
causes conflicts.

Bud Curtis wrote:
> The visual editor appears to be functional, but it is only showing the
> JFrame. All the components that are assigned to the JFrame's contentPane do
> not appear. This occured after I reverted back to a previous eclipse
> configuration because the JBoss Workflow IDE doesn't get along with
> MyEclipse. That is a long story.
>
> When I put the mouse over the displayed JFrame, I get a message (I wish it
> would stay up). The message is:
> ------------
> contentPane:java.lang.IllegalArgumentException(IWAV0167E access by method
> name(getContentPane) (not by Proxy) requires a receiver.)
> ------------
>
> I don't think I ever saw this message before, so I assume it is telling what
> the problem is. The GUI compiles and runs. I just can't get the VE editor
> back. Can someone suggest how I might get the visual editor of this JFrame
> back?
>

--
Thanks,
Rich Kulp
Re: VE only shows ContentPane [message #106953 is a reply to message #106928] Sat, 17 September 2005 14:54 Go to previous messageGo to next message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
Is there a way to have multiple configurations for Eclipse, or do I need
separate (eclipse root) folders for each configuration?

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dgh9qc$fpu$1@news.eclipse.org...
> Try it in a config with only Eclipse SDK 3.1, VE 1.1.0.1, EMF 2.1, and
> GEF 3.1. MyEclipse is often different levels of these projects and
> causes conflicts.
>
> Bud Curtis wrote:
> > The visual editor appears to be functional, but it is only showing the
> > JFrame. All the components that are assigned to the JFrame's
contentPane do
> > not appear. This occured after I reverted back to a previous eclipse
> > configuration because the JBoss Workflow IDE doesn't get along with
> > MyEclipse. That is a long story.
> >
> > When I put the mouse over the displayed JFrame, I get a message (I wish
it
> > would stay up). The message is:
> > ------------
> > contentPane:java.lang.IllegalArgumentException(IWAV0167E access by
method
> > name(getContentPane) (not by Proxy) requires a receiver.)
> > ------------
> >
> > I don't think I ever saw this message before, so I assume it is telling
what
> > the problem is. The GUI compiles and runs. I just can't get the VE
editor
> > back. Can someone suggest how I might get the visual editor of this
JFrame
> > back?
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #106967 is a reply to message #106953] Sat, 17 September 2005 16:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

AS far as I know you need separate roots. There are probably some
complex way of doing it, but I myself have at least five different
configurations for my work.

Bud Curtis wrote:
> Is there a way to have multiple configurations for Eclipse, or do I need
> separate (eclipse root) folders for each configuration?
>

--
Thanks,
Rich Kulp
Re: VE only shows ContentPane [message #107076 is a reply to message #106967] Sun, 18 September 2005 20:10 Go to previous messageGo to next message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
I created an eclipse with just the Visual Editor and the Maven IDE. This
was working fine. I tried the same project and got the exact same error.
Is there anyway to interpret the error. The Initialize code is elementary:

private void initialize() {
this.setSize(516, 395);
this.setName("jarSearchFrame");
this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
this.setContentPane(getJContentPane());
this.setTitle("Archive Searcher");
this.addWindowListener(new java.awt.event.WindowAdapter()
{
public void windowClosing(java.awt.event.WindowEvent
evt)
{
exitForm(evt);
}
});
}

/**
* This method initializes jContentPane
*
* @return javax.swing.JPanel
*/
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(new BorderLayout());
jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
}
return jContentPane;
}

When I run the program I get the expected JFrame with all the components
showing.

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dghfqb$lg3$1@news.eclipse.org...
> AS far as I know you need separate roots. There are probably some
> complex way of doing it, but I myself have at least five different
> configurations for my work.
>
> Bud Curtis wrote:
> > Is there a way to have multiple configurations for Eclipse, or do I need
> > separate (eclipse root) folders for each configuration?
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #107147 is a reply to message #107076] Mon, 19 September 2005 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

What is Maven? Could you try just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1?

Bud Curtis wrote:
> I created an eclipse with just the Visual Editor and the Maven IDE. This
> was working fine. I tried the same project and got the exact same error.
> Is there anyway to interpret the error. The Initialize code is elementary:
>
> private void initialize() {
> this.setSize(516, 395);
> this.setName("jarSearchFrame");
> this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
> this.setContentPane(getJContentPane());
> this.setTitle("Archive Searcher");
> this.addWindowListener(new java.awt.event.WindowAdapter()
> {
> public void windowClosing(java.awt.event.WindowEvent
> evt)
> {
> exitForm(evt);
> }
> });
> }
>
> /**
> * This method initializes jContentPane
> *
> * @return javax.swing.JPanel
> */
> private JPanel getJContentPane() {
> if (jContentPane == null) {
> jContentPane = new JPanel();
> jContentPane.setLayout(new BorderLayout());
> jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
> jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
> }
> return jContentPane;
> }
>
> When I run the program I get the expected JFrame with all the components
> showing.
>

--
Thanks,
Rich Kulp
Re: VE only shows ContentPane [message #107288 is a reply to message #107147] Tue, 20 September 2005 03:32 Go to previous messageGo to next message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
I reinstalled with just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1. The same
problem persists.

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dgmgdb$bq1$2@news.eclipse.org...
> What is Maven? Could you try just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1?
>
> Bud Curtis wrote:
> > I created an eclipse with just the Visual Editor and the Maven IDE.
This
> > was working fine. I tried the same project and got the exact same
error.
> > Is there anyway to interpret the error. The Initialize code is
elementary:
> >
> > private void initialize() {
> > this.setSize(516, 395);
> > this.setName("jarSearchFrame");
> > this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
> > this.setContentPane(getJContentPane());
> > this.setTitle("Archive Searcher");
> > this.addWindowListener(new java.awt.event.WindowAdapter()
> > {
> > public void windowClosing(java.awt.event.WindowEvent
> > evt)
> > {
> > exitForm(evt);
> > }
> > });
> > }
> >
> > /**
> > * This method initializes jContentPane
> > *
> > * @return javax.swing.JPanel
> > */
> > private JPanel getJContentPane() {
> > if (jContentPane == null) {
> > jContentPane = new JPanel();
> > jContentPane.setLayout(new BorderLayout());
> > jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
> > jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
> > }
> > return jContentPane;
> > }
> >
> > When I run the program I get the expected JFrame with all the components
> > showing.
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #107410 is a reply to message #107147] Tue, 20 September 2005 03:42 Go to previous messageGo to next message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
I got it to work by deleting the project from Eclipse, and then importing
the project back into Eclipse. There must be something in the workspace
that needed to be reset before it would interpret the code. Any ideas?

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dgmgdb$bq1$2@news.eclipse.org...
> What is Maven? Could you try just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1?
>
> Bud Curtis wrote:
> > I created an eclipse with just the Visual Editor and the Maven IDE.
This
> > was working fine. I tried the same project and got the exact same
error.
> > Is there anyway to interpret the error. The Initialize code is
elementary:
> >
> > private void initialize() {
> > this.setSize(516, 395);
> > this.setName("jarSearchFrame");
> > this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
> > this.setContentPane(getJContentPane());
> > this.setTitle("Archive Searcher");
> > this.addWindowListener(new java.awt.event.WindowAdapter()
> > {
> > public void windowClosing(java.awt.event.WindowEvent
> > evt)
> > {
> > exitForm(evt);
> > }
> > });
> > }
> >
> > /**
> > * This method initializes jContentPane
> > *
> > * @return javax.swing.JPanel
> > */
> > private JPanel getJContentPane() {
> > if (jContentPane == null) {
> > jContentPane = new JPanel();
> > jContentPane.setLayout(new BorderLayout());
> > jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
> > jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
> > }
> > return jContentPane;
> > }
> >
> > When I run the program I get the expected JFrame with all the components
> > showing.
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #107551 is a reply to message #107410] Tue, 20 September 2005 14:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Sorry, no ideas.

Bud Curtis wrote:
> I got it to work by deleting the project from Eclipse, and then importing
> the project back into Eclipse. There must be something in the workspace
> that needed to be reset before it would interpret the code. Any ideas?
>

--
Thanks,
Rich Kulp
Re: VE only shows ContentPane [message #610788 is a reply to message #106853] Sat, 17 September 2005 14:39 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Try it in a config with only Eclipse SDK 3.1, VE 1.1.0.1, EMF 2.1, and
GEF 3.1. MyEclipse is often different levels of these projects and
causes conflicts.

Bud Curtis wrote:
> The visual editor appears to be functional, but it is only showing the
> JFrame. All the components that are assigned to the JFrame's contentPane do
> not appear. This occured after I reverted back to a previous eclipse
> configuration because the JBoss Workflow IDE doesn't get along with
> MyEclipse. That is a long story.
>
> When I put the mouse over the displayed JFrame, I get a message (I wish it
> would stay up). The message is:
> ------------
> contentPane:java.lang.IllegalArgumentException(IWAV0167E access by method
> name(getContentPane) (not by Proxy) requires a receiver.)
> ------------
>
> I don't think I ever saw this message before, so I assume it is telling what
> the problem is. The GUI compiles and runs. I just can't get the VE editor
> back. Can someone suggest how I might get the visual editor of this JFrame
> back?
>

--
Thanks,
Rich Kulp
Re: VE only shows ContentPane [message #610790 is a reply to message #106928] Sat, 17 September 2005 14:54 Go to previous message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
Is there a way to have multiple configurations for Eclipse, or do I need
separate (eclipse root) folders for each configuration?

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dgh9qc$fpu$1@news.eclipse.org...
> Try it in a config with only Eclipse SDK 3.1, VE 1.1.0.1, EMF 2.1, and
> GEF 3.1. MyEclipse is often different levels of these projects and
> causes conflicts.
>
> Bud Curtis wrote:
> > The visual editor appears to be functional, but it is only showing the
> > JFrame. All the components that are assigned to the JFrame's
contentPane do
> > not appear. This occured after I reverted back to a previous eclipse
> > configuration because the JBoss Workflow IDE doesn't get along with
> > MyEclipse. That is a long story.
> >
> > When I put the mouse over the displayed JFrame, I get a message (I wish
it
> > would stay up). The message is:
> > ------------
> > contentPane:java.lang.IllegalArgumentException(IWAV0167E access by
method
> > name(getContentPane) (not by Proxy) requires a receiver.)
> > ------------
> >
> > I don't think I ever saw this message before, so I assume it is telling
what
> > the problem is. The GUI compiles and runs. I just can't get the VE
editor
> > back. Can someone suggest how I might get the visual editor of this
JFrame
> > back?
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #610791 is a reply to message #106953] Sat, 17 September 2005 16:21 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

AS far as I know you need separate roots. There are probably some
complex way of doing it, but I myself have at least five different
configurations for my work.

Bud Curtis wrote:
> Is there a way to have multiple configurations for Eclipse, or do I need
> separate (eclipse root) folders for each configuration?
>

--
Thanks,
Rich Kulp
Re: VE only shows ContentPane [message #610799 is a reply to message #106967] Sun, 18 September 2005 20:10 Go to previous message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
I created an eclipse with just the Visual Editor and the Maven IDE. This
was working fine. I tried the same project and got the exact same error.
Is there anyway to interpret the error. The Initialize code is elementary:

private void initialize() {
this.setSize(516, 395);
this.setName("jarSearchFrame");
this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
this.setContentPane(getJContentPane());
this.setTitle("Archive Searcher");
this.addWindowListener(new java.awt.event.WindowAdapter()
{
public void windowClosing(java.awt.event.WindowEvent
evt)
{
exitForm(evt);
}
});
}

/**
* This method initializes jContentPane
*
* @return javax.swing.JPanel
*/
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(new BorderLayout());
jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
}
return jContentPane;
}

When I run the program I get the expected JFrame with all the components
showing.

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dghfqb$lg3$1@news.eclipse.org...
> AS far as I know you need separate roots. There are probably some
> complex way of doing it, but I myself have at least five different
> configurations for my work.
>
> Bud Curtis wrote:
> > Is there a way to have multiple configurations for Eclipse, or do I need
> > separate (eclipse root) folders for each configuration?
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #610804 is a reply to message #107076] Mon, 19 September 2005 14:02 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

What is Maven? Could you try just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1?

Bud Curtis wrote:
> I created an eclipse with just the Visual Editor and the Maven IDE. This
> was working fine. I tried the same project and got the exact same error.
> Is there anyway to interpret the error. The Initialize code is elementary:
>
> private void initialize() {
> this.setSize(516, 395);
> this.setName("jarSearchFrame");
> this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
> this.setContentPane(getJContentPane());
> this.setTitle("Archive Searcher");
> this.addWindowListener(new java.awt.event.WindowAdapter()
> {
> public void windowClosing(java.awt.event.WindowEvent
> evt)
> {
> exitForm(evt);
> }
> });
> }
>
> /**
> * This method initializes jContentPane
> *
> * @return javax.swing.JPanel
> */
> private JPanel getJContentPane() {
> if (jContentPane == null) {
> jContentPane = new JPanel();
> jContentPane.setLayout(new BorderLayout());
> jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
> jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
> }
> return jContentPane;
> }
>
> When I run the program I get the expected JFrame with all the components
> showing.
>

--
Thanks,
Rich Kulp
Re: VE only shows ContentPane [message #610815 is a reply to message #107147] Tue, 20 September 2005 03:32 Go to previous message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
I reinstalled with just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1. The same
problem persists.

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dgmgdb$bq1$2@news.eclipse.org...
> What is Maven? Could you try just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1?
>
> Bud Curtis wrote:
> > I created an eclipse with just the Visual Editor and the Maven IDE.
This
> > was working fine. I tried the same project and got the exact same
error.
> > Is there anyway to interpret the error. The Initialize code is
elementary:
> >
> > private void initialize() {
> > this.setSize(516, 395);
> > this.setName("jarSearchFrame");
> > this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
> > this.setContentPane(getJContentPane());
> > this.setTitle("Archive Searcher");
> > this.addWindowListener(new java.awt.event.WindowAdapter()
> > {
> > public void windowClosing(java.awt.event.WindowEvent
> > evt)
> > {
> > exitForm(evt);
> > }
> > });
> > }
> >
> > /**
> > * This method initializes jContentPane
> > *
> > * @return javax.swing.JPanel
> > */
> > private JPanel getJContentPane() {
> > if (jContentPane == null) {
> > jContentPane = new JPanel();
> > jContentPane.setLayout(new BorderLayout());
> > jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
> > jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
> > }
> > return jContentPane;
> > }
> >
> > When I run the program I get the expected JFrame with all the components
> > showing.
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #610816 is a reply to message #107147] Tue, 20 September 2005 03:42 Go to previous message
Bud Curtis is currently offline Bud CurtisFriend
Messages: 40
Registered: July 2009
Member
I got it to work by deleting the project from Eclipse, and then importing
the project back into Eclipse. There must be something in the workspace
that needed to be reset before it would interpret the code. Any ideas?

--
Bud Curtis
Colorado Springs, CO
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dgmgdb$bq1$2@news.eclipse.org...
> What is Maven? Could you try just Eclipse 3.1 SDK, GEF 3.1, and EMF 2.1?
>
> Bud Curtis wrote:
> > I created an eclipse with just the Visual Editor and the Maven IDE.
This
> > was working fine. I tried the same project and got the exact same
error.
> > Is there anyway to interpret the error. The Initialize code is
elementary:
> >
> > private void initialize() {
> > this.setSize(516, 395);
> > this.setName("jarSearchFrame");
> > this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLO SE);
> > this.setContentPane(getJContentPane());
> > this.setTitle("Archive Searcher");
> > this.addWindowListener(new java.awt.event.WindowAdapter()
> > {
> > public void windowClosing(java.awt.event.WindowEvent
> > evt)
> > {
> > exitForm(evt);
> > }
> > });
> > }
> >
> > /**
> > * This method initializes jContentPane
> > *
> > * @return javax.swing.JPanel
> > */
> > private JPanel getJContentPane() {
> > if (jContentPane == null) {
> > jContentPane = new JPanel();
> > jContentPane.setLayout(new BorderLayout());
> > jContentPane.add(getStatusPanel(), java.awt.BorderLayout.SOUTH);
> > jContentPane.add(getSplitPane(), java.awt.BorderLayout.CENTER);
> > }
> > return jContentPane;
> > }
> >
> > When I run the program I get the expected JFrame with all the components
> > showing.
> >
>
> --
> Thanks,
> Rich Kulp
Re: VE only shows ContentPane [message #610826 is a reply to message #107410] Tue, 20 September 2005 14:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Sorry, no ideas.

Bud Curtis wrote:
> I got it to work by deleting the project from Eclipse, and then importing
> the project back into Eclipse. There must be something in the workspace
> that needed to be reset before it would interpret the code. Any ideas?
>

--
Thanks,
Rich Kulp
Previous Topic:Create my own dialog
Next Topic:Creating Wizard Pages using VE (Newbie)
Goto Forum:
  


Current Time: Thu Apr 25 01:16:17 GMT 2024

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

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

Back to the top