Author Archives: Antanas

How to show node tooltip with TreeViewAdv

The following code snippet shows how to show and update tooltip on TreeViewAdv nodes. A tooltip is shown for the node under the mouse pointer. If the mouse is moved to another node, the tooltip is closed and opened with updated text. C# code:

How to solve video tearing in Ubuntu

This solution was found in Ubuntu forums. It’s mostly a note to myself. Enable “Sync to VBlank” in NVidia xserver settings, under OpenGL Settings; Start CompizConfig settings manager, under General Options – Display Settings set the refresh rate to your monitor’s refresh rate. Also, check Sync to VBlanc. Display visual effects must be set to… Read More »

Simple workaround for Hibernate lazy initialization problem

Update: this workaround is not a solution, just delaying the problem. I’m currently looking for other possibilities, databinder project looks promising. I’ve been struggling with the infamous Lazy loading problem – LazyInitializationException and other related exceptions, such as “Could not initialize proxy – the owning Session was closed”. My current project uses Hibernate> ORM framework… Read More »