I am trying to develop/create a plugin, but I can't seem to find a [good] series of tutorials covering the broad range of topics that are involved in doing so. I have already found the Developer FAQ Page, the NetBeans Platform Learning Trail, and the NetBeans Platform 7.3 Plugin Quick Start, but none of those, or similar sites on netbeans.org have a[n extensive] tutorial on plugin development. So my question basically is: does anyone know a good, comprehensive tutorial for developing netbeans plugins. As always, any information, resources, or advice is much appreciated.
Thanks!
All the documentation you could possible want:
http://netbeans.org/kb/index.html
Tutorials:
http://netbeans.org/kb/docs/javaee/ecommerce/intro.html
Plug-Ins:
http://platform.netbeans.org/tutorials/nbm-google.html
Dunno if you still looking for an answer, that's the link you're looking for I presume. the video in this link is quite descriptive of how to look around in the doc and is a very good quick start guide you have also applications tutorial that are real-world examples built step by step, there is even a book: Netbeans Platform for beginners if you want to go deeper, a list of videos are available here ... basically just look carefully in the first link it has many resources they're just scattered.
Related
Our team is developing a Eclipse based IDE (typically a plugins), currently we are progressing good but I feel somehow we are feeling smell of bad practices in code. Example I can give here is, eventListeners :
Consider we have button named button1 and in the same java file (just below the button) we are adding selection listener to it like:
button1.addSelectionListener(new SelectionListener() {
//Remaining code here
}
Which I feel is completly bad idea, and my question, is there any design pattern, best practices etc available for eclipse plugin development? Or do you have any small tips/suggestions for the same? I know there are books available like Code Complete 2 etc etc, but I need bit suggestions respect to eclipse plugin development.
I tried in Google and didn't get much good informations regarding same, I got this IBM's article. But I feel it's not very useful, any suggestions or tip is appreciated.
Note: Please let me know if it is not appropriate here or is it good for anyother stackexchange networks (like programmers), I can move it there.
After several years of plugin development, I find these resources to be most useful for me when I find myself struggling on how to implement new feature:
Eclipse sources. Nothing will beat this. Try to find some already existing analogic part of what you're just doing and look how Eclipse developers did it - what patterns and extensions they used and so on. Helps to keep you plugins consistent with other parts of Eclipse. Eclipse Plugin Spy is your friend here (Alt + Shift + F1/F2).
Platform Plug-in Developer Guide - will guide you through basic concepts of Eclipse, like how to create menus properly, implement an editor, or save user preferences.
Eclipse Plug-ins (4th Edition) - Well known must-have for plugins developer.
And, of course, Stack overflow :)
I like to add some more resources that I have found useful to dreo's answer. The eclipse sources are invaluable, if you want to understand something in detail. To understand global concepts however, I suggest to read as much tutorials as you can. I can recommend the following websites:
Eclipse Corner Articles Has a lot of tutorials ranging from basic concepts to plugins specific topics.
Vogella Eclipse Tutorials Also a good tutorial website. It deals with a lot of topics that are important for Eclipse RCP development.
SWT Snippets More than 100 code snippets. Really useful, if you want to learn more about SWT and its capabilities.
The Official Eclipse FAQs Last but not least, I can recommend the official Eclipse FAQs. They provide compact solutions for a variety of topics.
I have done .NET Win32 projects and from Java well I can adopt my knowledge to its classes and you know the language itself but as far as technologies based on Java ..for example I mean SWT?, JFace,Hibernate, etc... I have zero experience with them...
Now by two weeks! I need to create a DEMO application with RCP,Eclipse ..a simple one tho, just some forms with a couple of ListViews and SpreadSheets on them, type something in a ComboBox, add it to a spreadsheet, etc.. stuff like this.
Ok, with this background and what I need to know, please let me know what is my starting point? any books? resources? and prerequisite knowledge that I need to learn first?
Thanks all.
I'd start with Lars Vogel's pile of excellent tutorials. They're broken out into basic categories, and if you work your way through several of them you should be able to start getting a feel for things.
may i suggest to have a look at eclipse scout [1]. the framework comes with the scout sdk which should helpt you do what you're looking for.
understanding of the eclipse platform is initially not required. however, a good understanding of java is ...
after the "hello world" you can go through the more comprehensive demo app [2]. should you hit a roadblock don't hesitate to ask questions in our forum [3].
good luck! matthias
[1] http://www.eclipse.org/scout
[2] http://wiki.eclipse.org/Scout/Tutorial/3.8
[3] http://www.eclipse.org/forums/index.php?t=thread&frm_id=174
Are there any places online where you can find tutorials for the openfaces components? I have been trying to implement a dynamic tree table for a few days and I am having trouble, but the documentation isn't helpful at all so it makes it tough to overcome this obstacle.
Thanks,
Quinton
Besides the documentation and FAQ, you may find these articles useful:
An Introduction to OpenFaces, Part 1 -- General overview;
An Introduction to OpenFaces, Part 2 -- DataTable and TreeTable components overview.
You can also download the source code for the OpenFaces demo application to study the working examples.
If the documentation is not clear enough, you can search for a solution or ask for a clarification on the discussion forum.
I am a complete Android and C in general noob,
I have done a lot of web programming (which I am imagining is largely irrelevant here), some javascript (not jQuery just raw JS), I have also developed a .net app and done a course in java programming at uni last semester,
I know that Android uses Java in some places and C in others, I have looked at the SDK documentation here: http://developer.android.com/guide/topics/appwidgets/index.html
My aim is to build a simple dashboard widget that pulls data on a minute-by-minute basis from a JSON/JSONP API, I have thus far struggled to find any decent tutorials for real Android noobs such as myself, especially in the app widget category, If anyone knows of any good resources (online or books are fine) consisting of basic good practises, start-up guides and quick tutorials to get me up to speed would be great as I have absolutely no idea where to start (especially in the C end of things), I have found the SDK documentation does have some good stuff but it isn't exactly what I am after (built on very old builds of Android and thus most of the cool new features aren't integrated or taken into account).
Any recommendations would be very much appreciated!
On a side note, If all goes well with Android I would also be looking to move onto iOS so Objective-C start-up and tutorials would be great (Visual Quick Pro guide style would be perfect!)
I personally started reading and understanding the Android Application Fundamentals. Then I downloaded the Android ADT (Development Toolkit), configured it on Eclipse as well as the SDK (including samples).
Once that's set up, I started with the ApiDemos. You find its source code directly in the downloaded SDK <sdk-install-location>/samples/android-9/ApiDemos. Try to debug the code in the IDE, modify it and see how it reacts.
Finally, have fun :)
Well, I started with the Android developer documentation:
http://developer.android.com/guide/index.html
If that isn't as organized as you'd like for a complete beginner, you might want to try the FAQ since they have a lot of good tutorial links there, which happen to be very thorough:
http://developer.android.com/resources/faq/index.html
Once you get the basics, which the tutorials will do for you, the first link to the developer guide will be where you'll spend most of your time. There are even links in the guide for getting started with your IDE of choice, or getting started using no IDE at all.
To get a more specific answer, you'll have to ask a more specific question.
I'm in a project with WindowBuilder Pro, and while trying to get a good grip of it I've been searching forever for good documentation without any luck.
The best that I've found is Googles WindowBuilder Pro Infopage but that isn't extensive enough for me.
Does anyone know any other good documentation?
Or am I perhaps a bit off track here? I have very limited Swing-experience, and perhaps I'd be better off studying the SWING API instead of looking for WindowBuilder documentation?
Very thankful for any tips.
The WindowBuilder docs that you reference are quite extensive (nearly 300 pages), but they are intended to be docs about how to use WindowBuilder itself. They are intentionally not intended to be documentation for the Swing, SWT or GWT APIs and should not be considered to be substitutes for those. There are plenty of good sources of information on those APIs.
If you are interested in info on Swing, the primary source should be the docs and tutorials provided by Sun/Oracle. Once you have a basic understanding of Swing itself, I think you will find the WindowBuilder docs to be of great help in learning WindowBuilder which itself will be great help to you in rapidly creating Swing UIs.
I should also point out that the WindowBuilder docs in place today are actually better than those in place prior to the Google acquisition of Instantiations because they represent a further six months of work and refinement. While the product has seen a change in legal ownership, it has not actually "changed hands" in the literal sense. The exact same team that developed the tool at Instantiations has continued to work on it at Google and is also forming the core of the committer team at Eclipse.org. This continuity of development stretches eight years into the past and will continue well into the future.
This is in a really early stage but this is something that we have been working on which might be helpful for you: http://www.codemaps.org/s/WindowBuilder
WindowBuilder has changed hands several times in the last 12 months (from Instantiations to Google, followed by Google giving it to the Eclipse Foundation). Admittedly, the documentation appears to have suffered. However, as the project is still in the process of being provisioned to the Eclipse Foundation, the best place to search for documentation should be the Eclipse WindowBuilder Documentation Page, which is available from the Eclipse WindowBuilder page. Currently, the documentation page only lists the Google InfoPage that you've mentioned, but I suspect that in time the documentation will increase greatly in quality.
That being said, there is no substitute for a solid understanding of the underlying technology that you plan on using within WindowBuilder, be it SWT, Swing, or GWT. WindowBuilder will make some things easier, but many of the features will be confusing if you don't have a firm grasp of the underlying concepts. Sadly, most tutorials are still centered around hand-coding the GUI, so there is an opportunity for an enterprising documentation/tutorial writer to provide a gateway to those who wish to learn technologies like Swing and SWT using WindowBuilder.
Yea, leave the WindowsBuilder behind. The Swing tutorials are excellent: http://download.oracle.com/javase/tutorial/uiswing/