Category Archives: Uncategorized

Set up Latex in Debian Wheezy

1) Using Synaptic Package Manager to install texlive packages and textworks editor 2) If using multirow.sty, need to install texlive-latex-extra package, and run the following command: >sudo texhash 3) For true type fonts, 3.1) create a new directory in /usr/share/fonts/truetype/<yourfontdir>: … Continue reading

Posted in Uncategorized | Leave a comment

Assign MySQL Root Password Using XAMMP Security Page

A fresh installed MySQL has a blank password. So, my scenario is that my MySQL server was installed by XAMPP 1.8.1, and I wanted to assign a root password to it. Instead of doing that in a traditional way, I … Continue reading

Posted in Uncategorized | Leave a comment

XAMPP 1.8.1: Cannot start Tomcat server using XAMPP Control Panel

My situation is that I was installing XAMPP 1.8.1 in Windows 8 Professional. After finished the installation, I used XAMPP Control Panel to successfully start Apache Server, MySQL Server, and Tomcat Server, respectively. The problem was that after I stopped … Continue reading

Posted in Uncategorized | Leave a comment

Netbeans IDE 7.2.1: Cannot load platform/lib/nbexec.dll module

I encountered the following error message: cannot load platform/lib/nbexec.dll module, when I installed Netbeans IDE 7.2.1 in Windows 8 Professional with jdk 1.7.0_09. To fix this problem, right click on the Netbeans IDE shortcut icon on the Desktop, click on … Continue reading

Posted in Uncategorized | Leave a comment

Hide/show a Save button in Netbeans Platform 7

When we incorporate NetBEANS Platform 7 into our application, we usually employ Action Annotations rather than layer.xml file for registering actions into a system. For example, the code below is an implementation of closing a TopComponent. (Notes: we create a … Continue reading

Posted in Uncategorized | Leave a comment

Store image into and load image from JavaDB using EclipseLink

My successful experience on how to store and load an image (.jpg) using JavaDB+EclipseLink+Java 1.6.0_25 and NetBeans 7.0 is as follows. A table named, Customer, is used as an illustrating example. There are three attributes in this table: CustomerId, Name, … Continue reading

Posted in Uncategorized | 5 Comments

CRUD NetBeans Platform Application with Embedded JavaDB

If you guys have followed this tutorial: CRUD tutorial for NetBeans Platform 7.0, and tried to make it an Embedded JavaDB application based on the following tutorial: Embedded Database for NetBeans Platform CRUD, and you receive this “Table/View does not … Continue reading

Posted in Uncategorized | 16 Comments