Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Looking for a simple tutorial to start using Netbeans RCP  (Read 1927 times)
0 Members and 1 Guest are viewing this topic.
Offline gouessej
« Posted 2010-06-21 17:25:13 »

Hi!

I looked for a simple tutorial to learn Netbeans RCP step by step but I found only the "quick start" guide of Netbeans. Does someone know a simple tutorial with some simple examples? I rarely use Netbeans, the guide shows many menus :s Is there a tutorial closer to the source code?

Offline cylab

JGO Ninja


Medals: 38



« Reply #1 - Posted 2010-06-27 22:29:58 »

http://netbeans.org/kb/trails/platform.html
http://platform.netbeans.org/

Mathias - I Know What [you] Did Last Summer!
Offline gouessej
« Reply #2 - Posted 2011-10-28 11:54:56 »

Hi

Sorry to refresh this old thread. I would like to use Netbeans RCP but without using Netbeans as an IDE. I know some people succeeded in using Netbeans RCP in IDEA IntelliJ, I would like to do the same but in Eclipse, I found nothing about that after some long research. Is it possible?

Some people might tell me "why don't you simply use Eclipse RCP?". Actually, I use Eclipse RCP at work. To sum up, it looks like "Write once, debug everywhere" even though some customers like the "native" look and feel. I'm fed up with problems of sync between SWT, AWT and Swing components, I don't want to do the same thing for JFPSM, I just want to use a rich client platform based on Swing and Netbeans RCP seems the way to go but I don't feel comfortable in Netbeans.

Edit.: Adapting the following tutorial for Eclipse should work, any hints?
http://netbeans.dzone.com/news/using-intellij-idea-netbeans

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline nsigma
« Reply #3 - Posted 2011-10-28 21:24:16 »

Hi Julien,

I use NetBeans RCP a lot.  The Praxis framework is based around the NetBeans runtime container, and Praxis LIVE is a NetBeans RCP application.

I'm sure earlier today you had a link to Geertjan's blog in this post!  While I would normally steer clear of the NetBeans vs Eclipse vs whatever arguments, if you want to develop for the platform I would agree with some of the comments on that blog post and recommend using NetBeans.  While using another IDE is of course possible, you will miss a huge amount of integration between the IDE and the RCP - wizards, branding configuration, window system editor, integrated build and test system, visual editors, "layers" editor etc.  There are some major time savers in there - you will learn to be comfortable with NetBeans faster than you'll do most of those tasks without it!  Wink

I would also recommend -


As a related aside, I would also highly recommend the NetBeans runtime container (module system, cross-platform installers, great native library loading mechanism, etc. - the core non-GUI stuff) as a distribution tool for non-RCP stuff, including desktop games!

Best wishes, Neil

Praxis LIVE - open-source intermedia toolkit and live interactive visual editor
Digital Prisoners - interactive spaces and projections
Offline gouessej
« Reply #4 - Posted 2011-10-28 23:01:26 »

I do what I can. I'm not a big fan of Eclipse but despite my efforts, I don't feel fine in Netbeans. Personally I don't need any WYSIWYG editor; I don't deny Matisse is a time saver but it is not mandatory.

My project is IDE-agnostic, I try to make it work in Eclipse, Netbeans and why not BlueJ. I assume that Netbeans RCP contains some things coming from abandoned JRE concerning installation and packaging, Swing framework, etc... It is quite difficult to do it with Maven, to handle the dependencies so that I don't have to put them directly inside my own project...

Do I have the right to put Netbeans RCP JARs into my project? It is under GPL V2 as far as I know. Thank you very much. Best regards.

Offline nsigma
« Reply #5 - Posted 2011-10-28 23:47:29 »

Quick response - on phone - wish this forum worked better with Android.

1. I'm not really talking about Matisse, which I hardly ever use. NetBeans contains lots of GUI tools for configuring the platform that you won't get elsewhere.

2. As far as I know it all predates the abandoned stuff from the JRE, and is much more complex and comprehensive.

3. License is GPL with classpath exception and CDDL, at least for NetBeans code - there is some 3rd party stuff which is licensed differently, though mostly not in the core platform.

Praxis LIVE - open-source intermedia toolkit and live interactive visual editor
Digital Prisoners - interactive spaces and projections
Offline gouessej
« Reply #6 - Posted 2011-10-29 11:55:55 »

Sorry, I meant JSR, not JRE, I was so tired...

I avoid using my HTC Desire Z to read the contents of this forum.

Actually, I would like to avoid putting all Netbeans RCP JARs into my project, maybe by using Maven or Ant.

Offline nsigma
« Reply #7 - Posted 2011-10-29 13:03:08 »

Sorry, I meant JSR, not JRE, I was so tired...

I knew what you meant!  Smiley It was intended for the JRE after all.  And, my answer still applies - NetBeans RCP is not the same thing.

I avoid using my HTC Desire Z to read the contents of this forum.

Reading is fine - replying is another matter.

Actually, I would like to avoid putting all Netbeans RCP JARs into my project, maybe by using Maven or Ant.

You just include the JARs (modules) you need in your application.  Again, there is a GUI for this built in to the IDE, which handles dependency management.  It's possible outside of the IDE by building a list of excluded modules in one of the configuration files.

The NetBeans build system is Ant by default.  I know people have also built platform apps with Maven, though haven't myself.  The Ant build system should work outside the IDE, but there are some custom tasks which will need to be in the Ant classpath.

Praxis LIVE - open-source intermedia toolkit and live interactive visual editor
Digital Prisoners - interactive spaces and projections
Offline cylab

JGO Ninja


Medals: 38



« Reply #8 - Posted 2011-10-31 10:51:37 »

I do what I can. I'm not a big fan of Eclipse but despite my efforts, I don't feel fine in Netbeans. Personally I don't need any WYSIWYG editor; I don't deny Matisse is a time saver but it is not mandatory.

I've done cross IDE Netbeans RCP in the past (also in IntelliJ Idea). At the time I started, there was not very much available in Netbeans to support RCP development, so I set up my own Ant based build system. It worked out quite well, but when Netbeans IDE support catched up, I sincerly regretted not to have these new tools available!

So I would go with Mix'n'Match - change the Netbeans key shortcuts to Eclipse, use the Netbeans Wizardry to create your basic project and start Netbeans up, everytime you need to configure or change your projects' structure (e.g. adding Modules) or branding.

I would also recommend to use Netbeans to create, modify and wire the GUI components - at least the ones that directly relate to the RCPs Windowing System - like Editors, Navigators, Explorers and TopComponents. There is some serious amount of knowledge, boilerplate code and convention in there, that greatly reduce the effort to get things done. It also prevents you from hitting some pitfalls, reinvent the wheel or introducing usage inconsistencies with the rest of the plattform.

For everything else, use Eclipse if you need to...

To share the project between Netbeans and Eclipse, I probably would try to use the Netbeans Plattform Support for Maven (Quickstart, Article), but haven't used it til now - it may be incomplete, and the M2 plugin for Eclipse (http://www.eclipse.org/m2e/). Importing Maven projects (even hierarchical multimodule ones) usually works quite well with the current versions.


Mathias - I Know What [you] Did Last Summer!
Offline gouessej
« Reply #9 - Posted 2013-05-07 13:57:02 »

Hi

Sorry to refresh this thread. I started to use Netbeans RCP at work a few days ago and I still don't like Netbeans. Therefore, I will try to use Eclipse but cylab is right about the pitfalls and the respect of conventions. I don't succeed in getting rid of layer.xml :s

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (16 views)
2014-07-30 21:08:39

Riven (23 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!