This part of POVRay-Netbeans Platform integration tutorial is a good start to learn about FileChangeListener and WeakListener. This morning I tried implementing them on my own application. Below is a capture of my app. Basically my app is an “image spreader” which contains empty square(s), … Continue reading
Category Archives: netbeans platform
Sometimes our project structure separates files by its extension (or, to be specific, its filetype), for example folder scenes in POV-Ray project here contains .inc and .pov files only. So it makes sense if our New File action on project root … Continue reading
In the image above I have my Visual Library implementation, wrapped into a MultiViewElement. Story short, there’re 4 SubLayout widgets on the Scene, each SubLayout widget consists of SquareWidgets (squares with a number drawn at its center). Each of these … Continue reading
Initialization : I had a complete Scene.addChild(WidgetP) and WidgetP.addChild(WidgetC) structure, and added a defaultMoveAction to WidgetP. I override the isHitAt method of WidgetP such that it will return true if any of its children.isHitAt returns true. Problem : I tried … Continue reading
Let’s say I’m building a Scene and adding some LayerWidgets. Next I want to let user to arrange the order of these LayerWidgets, just like any other Layer-like functionality in Photoshop or CorelDraw. Bring forward, bring backward, bring to front, … Continue reading
This will be the first post of a series of trying and hitting some 3D libraries in Java. So far I know two of them, JOGL – the more primitive one, and Java3D, which wraps the former. Good tutorial on … Continue reading
It’s still mystery for me, tho.