Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » NEWB Question - Error Highlighting -Why
NEWB Question - Error Highlighting -Why [message #47629] Mon, 28 October 2002 16:01 Go to next message
Eclipse UserFriend
Originally posted by: JHeavey.everestkc.net

Hello
I have just downloaded and installed the Eclispe software and thought I
would give it a whirl. I have read through the user's guide, but have not
found anything which relates, so I am trying here.

I am taking an existing java program which works just fine and copying it
into Eclispe. Most have come accross just fine, but there is one that the
product highlights and continues to tell me it is in error. I do not
understand why it is in error since it works just fine outside of Eclispe.

I have a class (FrameListener) which extends JFrame - it compiles just fine.
I have another class which creates an instance of FrameListener and then
attempts to use the methods of the JFrame such as "setSize". The method is
highlighing and telling me that there is no such method. It does not
highlight my instatiating an instance of FrameListener, but as soon as I
attempt to use any method of the instatiated object, it highlights the
method.

I have rebuilt FrameListener by hand rather then using cut and paste, but
this has had no effect.

Any ideas what I have done incorrectly to cause this error in the IDE?
Re: NEWB Question - Error Highlighting -Why [message #47720 is a reply to message #47629] Mon, 28 October 2002 22:14 Go to previous message
Eclipse UserFriend
Originally posted by: ijmuiden.pointbreak.biz

You could start by posting to the right list. This one is for CDT: C++
Development Toolkit. Try eclipse.tools.

"Jim Heavey" <JHeavey@everestkc.net> schreef in bericht
news:apjl7l$dsb$1@rogue.oti.com...
> Hello
> I have just downloaded and installed the Eclispe software and thought I
> would give it a whirl. I have read through the user's guide, but have not
> found anything which relates, so I am trying here.
>
> I am taking an existing java program which works just fine and copying it
> into Eclispe. Most have come accross just fine, but there is one that the
> product highlights and continues to tell me it is in error. I do not
> understand why it is in error since it works just fine outside of Eclispe.
>
> I have a class (FrameListener) which extends JFrame - it compiles just
fine.
> I have another class which creates an instance of FrameListener and then
> attempts to use the methods of the JFrame such as "setSize". The method
is
> highlighing and telling me that there is no such method. It does not
> highlight my instatiating an instance of FrameListener, but as soon as I
> attempt to use any method of the instatiated object, it highlights the
> method.
>
> I have rebuilt FrameListener by hand rather then using cut and paste, but
> this has had no effect.
>
> Any ideas what I have done incorrectly to cause this error in the IDE?
>
>
Previous Topic:Eclipse & CORBA
Next Topic:C-Build make
Goto Forum:
  


Current Time: Sat Jul 27 14:04:04 GMT 2024

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

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

Back to the top