Home » Archived » Visual Editor (VE) » VE only shows ContentPane
VE only shows ContentPane [message #106853] |
Fri, 16 September 2005 20:28  |
Eclipse User |
|
|
|
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 #106953 is a reply to message #106928] |
Sat, 17 September 2005 10:54   |
Eclipse User |
|
|
|
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 #107288 is a reply to message #107147] |
Mon, 19 September 2005 23:32   |
Eclipse User |
|
|
|
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 #107551 is a reply to message #107410] |
Tue, 20 September 2005 10:38  |
Eclipse User |
|
|
|
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 10:39  |
Eclipse User |
|
|
|
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 10:54  |
Eclipse User |
|
|
|
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 12:21  |
Eclipse User |
|
|
|
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 16:10  |
Eclipse User |
|
|
|
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 10:02  |
Eclipse User |
|
|
|
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] |
Mon, 19 September 2005 23:32  |
Eclipse User |
|
|
|
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] |
Mon, 19 September 2005 23:42  |
Eclipse User |
|
|
|
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 10:38  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Fri Jul 04 02:53:58 EDT 2025
Powered by FUDForum. Page generated in 0.70771 seconds
|