I have been studying the Netbeans Platform for the last 2 weeks or more.I have dug up a lot of docs and tutorials from their website, netbeans DZone and youtube and also made some demo’s/test projects of my own.Finally I have been able to wrap my head around Lookup, Actions, FileSystem,Window Systems,Nodes,Property Sheet and Explorer and DataSystem API’s to an acceptable level of detail.I have created a new FileType j3c for the editor. It stores the cinematic editor’s content as xml.(p.s the extension is j3c but the content stored is xml-like) For example,
<cinematic name=”myclip” duration=”30″>
<layer name=”character_1″ content-type=”j3o” res=”/assets/models/character_1.j3o”>
<event name=”walk_1″ start=”20″ duration=”10″/>
I am using JDOM API to construct my tree-type data structure from this file. The user will interact with the cinematic editor, which would modify the j3c file. The concerned listeners will then update the scene,cinematic,editor and data structure.
I plan to finish this by the end of the month or max before 4 August and release a prototype for everyone to check out.
There are a few things I need help with :
Undo/Redo - I would like to integrate this feature sometime soon. Can you suggest some good tutorial for me to get started ?
PermGen error - Whenever the text editor and the cinematic editor are simultaneously open, I get a java.lang.OutOfMemory Exception : PermGen space. I have using -J-Xms24m -J-Xmx1g -J-XX:PermSize=512m handles in etc\jmonkeyplatform.conf. I tried increasing all of these, but nothing good happened. My heap size remains fixed at 830mb no matter how much RAM is free and -J-Xmx is set to.
Cookies in FileType: I do not understand what they are or if they could be helpful in simplifying the project by giving it a better architecture.Should I be concerned?
I know this devlog is about a week late. I’m sorry for that. I needed some time to sort out and understand the Netbeans Platform Api’s as they didn’t seem quite intuitive at first.