Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » importing proyect from netbeans
importing proyect from netbeans [message #674843] Sat, 28 May 2011 21:39 Go to next message
mario  is currently offline mario Friend
Messages: 2
Registered: May 2011
Junior Member
Good morning
i´d like to know if you can help me.
I´ve done a graphical interface in netbeans because of it is easier but now i´d like to import the proyect to eclipse. After fighting for a long time i got it without any error but when i play it in eclipse appear the next error.

editor does not contain a main type

if i´m not wrong, it means that i have to create a class with the method main but my question is... if the proyect runs well with netbeans why not with the eclipse.

anyone knows how to fix it??. Any ideas would be good

thanks for everything
regards
Mario
Re: importing proyect from netbeans [message #674852 is a reply to message #674843] Sat, 28 May 2011 23:07 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.05.28 15:39, mario wrote:
> Good morning i´d like to know if you can help me.
> I´ve done a graphical interface in netbeans because of it is easier but
> now i´d like to import the proyect to eclipse. After fighting for a long
> time i got it without any error but when i play it in eclipse appear the
> next error.
>
> editor does not contain a main type
>
> if i´m not wrong, it means that i have to create a class with the method
> main but my question is... if the proyect runs well with netbeans why
> not with the eclipse.
>
> anyone knows how to fix it??. Any ideas would be good
>
> thanks for everything
> regards
> Mario

I once tried NetBeans and found it to be a very nice environment. I
don't remember NetBeans obviating the need to code a static main method.

In any case, unless you use a specific UI framework independent from
NetBeans, you'll run into trouble using Eclipse. Such projects aren't
compatible.
Re: importing proyect from netbeans [message #675247 is a reply to message #674852] Mon, 30 May 2011 22:15 Go to previous messageGo to next message
mario  is currently offline mario Friend
Messages: 2
Registered: May 2011
Junior Member
once i used netbeans to make a graphical interface and i could use the code in eclipse without any problem. well... just one.. the witdh but nothing serious. now i can see some error and i cant run it. but that interface work before...
any idea???
Re: importing proyect from netbeans [message #675265 is a reply to message #675247] Mon, 30 May 2011 23:14 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.05.30 16:15, mario wrote:
> once i used netbeans to make a graphical interface and i could use the
> code in eclipse without any problem. well... just one.. the witdh but
> nothing serious. now i can see some error and i cant run it. but that
> interface work before...
> any idea???

It depends on what you're doing, what framework you're using. No one can
guess this as you've posted nothing specific about what doesn't work.
Re: importing proyect from netbeans [message #675517 is a reply to message #674843] Tue, 31 May 2011 17:48 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 5/28/11 5:39 PM, mario wrote:
> Good morning i´d like to know if you can help me.
> I´ve done a graphical interface in netbeans because of it is easier but
> now i´d like to import the proyect to eclipse. After fighting for a long
> time i got it without any error but when i play it in eclipse appear the
> next error.
>
> editor does not contain a main type
>
> if i´m not wrong, it means that i have to create a class with the method
> main but my question is... if the proyect runs well with netbeans why
> not with the eclipse.
>
> anyone knows how to fix it??. Any ideas would be good
>

What, exactly, do you do to trigger that error? You must be specific
with questions if you want specific help.

Eric
Previous Topic:Eclipse Helios Hangs
Next Topic:Avd manager not seeing my virtual device
Goto Forum:
  


Current Time: Thu Apr 25 09:52:45 GMT 2024

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

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

Back to the top