netbeans-platform

NetBeans Platform - how to refresh the property sheet view of a node?

Hi all, I am using the PropertySheetView component to visualize and edit the properties of a node. This view should always reflect the most recent properties of the object; if there is a change to the object in another process, I want to somehow refresh the view and see the updated properties. The best way I was able to do this is som...

Web-based clients vs thick/rich clients?

My company is a software solutions provider to a major telecommunications company. The environment is currently IBM WebSphere-based with front-end IBM Portal servers talking to a cluster of back-end WebSphere Application Servers providing EJB services. Some of the portlets use our own home-grown MVC-pattern and some are written in JSF. ...

Web Start Application built on NetBeans Platform doesn't create desktop shortcut & start menu item

I've created a NetBeans Platform application that is launched using Java Web Start. I built the WAR file using the 'Build JNLP Application'-command in Netbeans 6.8. I've added a desktop shortcut and menu item to the JNLP file, but for some reason, these are not created when the application is launched. However, when I go to: Contro...

NetBeans Platform - how to get a callback when a property begins / ends editing

Hi all, In my domain I have objects that are constantly being updated by a separate process, and I want a PropertySheetView to display the changing properties. The current implementation is set up such that the underlying domain model object is immutable, and thus when it changes, there is a new object published with a corresponding ID....

How to add netbeans platform for customizing iReport 3.7.2

Hi, I need to do some customization of the iReport 3.7.2 source code. I am doing that in Netbeans 6.5.1. It requires some netbeans platform manager. Can anyone tell how to add the correct netbeans platform for customizing iReport3.7.2. ...

How to add netbeans platform for compiling iReport sources?

I need to customize iReport sources.. (not creating plugin) Currently i am using iReport 3.7.2 and netbeans 6.5.1 ide. I downloaded the netbeans platform 6.0.1 and followed the procedures as shown in the jaspersoft link on how to compile iReport sources. But when i tried to compile the sources. I am getting errors like libs-xerces-jar ...

How can I get a project type on Netbeans Platform?

Hi folks, Is there a way to know the type of a selected project? I would like to do some specific actions depending of the project type like a J2SE project. Below is the only way that I found to do that: public final class MyAction extends CookieAction { @Override public boolean isEnabled() { if(this.getActivatedNodes() == nu...

How to use the Maven's Netbeans Module plugin to create an autoupdate site as an artifact ?

How to use the Maven's Netbeans Module plugin to create an autoupdate site as an artifact ? I can see the files of the auto-update site been generated in the target/ directory, but I have no idea how to turn it into an artifact. My final purpose is to have it embedded into a war for an easier installation (I will use the dependency plu...

What is netbean's Lookup ?

I have trouble understanding this. Basically, this Lookup API is used to keep loosely coupled intermodule nature. So basically a service provider and consumer modules can each communicate with each other using the Lookup API correct ? But what I don't understand is: is Lookup like a bag full of which objects for that Class? Can someone...

How do I find the version of a installed NetBeans module ?

How can I find the version of an installed NetBeans module ? My purpose is to make my module display its own specification number to the user without having to change its display code at each release. ...

How to catch a runtime exception in a NB platform module?

As described here, I want to update the user's database by means of catching the exception that occurs when the entity classes don't match. I understand that I could add a catch statement to every db-interface method, but that's error-prone*. Other 'polling methods' are also possible, but they are not interrupt-driven as I want through ...

How to deal with database initialization?

As also described here, I'm trying to determine the best way to initialize and update my application's database. I use EclipseLink-JPA2. I distribute a NetBeans platform application. Considered options: use create-tables ddl-generation: The problem with this is that everytime the application runs it will throw exceptions, failing to c...

How to know which jars are the unsigned?

jarsigner -verify -verbose -certs /Users/simpatico/ws/MemoPlatform/application/target/webstart/foo/org-netbeans-modules-xml-retriever/org-netbeans-modules-xml-retriever.jar Returns that the jar is indeed signed: ... smk 4996 Mon Aug 02 14:20:54 AST 2010 org/netbeans/modules/xml/retriever/impl/Util.class X.509, CN=Gabriele, ...

How to use Lookup listener and provider in Netbeans platform?

Hi I have a problem with understanding the Lookup Api in netbeans Platform. I want to have one module, scanning-api, where one final class will be and one interface to implement, and the application will scann pictures trough this module, and one or two modules, that will have dependency on this scanning-api module, and will implement al...