OpenFaces tutorials - java

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.

Related

Where to find design patterns, best practices for Eclipse plugin development

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.

need help finding comprehensive netbeans plugin development tutorials

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.

Prerequistes knowledge of doing RCP projects

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

Implementing JTreeTable in swing

I would like to implement a JTreeTable. I saw the example in the official java website. I am a beginner to java and i am not able to understand that example. I have the tree node and child names as a string. How do i implement it?
there are (only products I tried)
free
SwingX
NetBeans Outline, illustrated here
excellent workaround by aephyr
simple code example here
non-free
JIDE Grids
maybe more information you can find here

Searching for WindowBuilder documentation/API

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/

Categories