Author Archives: mrtextminer

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

Intermodule Communications in NetBeans Platform: Open a TopComponent in one module from another TopComponent in another module through the use of Lookup API

In this blog, I’d like to share my experience on an implementation of a NetBeans Platform application. The content below is mostly based on the CRUD tutorial with some of my own modifications. The key idea is on how to … Continue reading

Posted in Uncategorized | 2 Comments

Drupal 7 (RC2): How to create a customized front page.

In this blog, I briefly describe a procedure for creating a customized Drupal front page. It’s just a series of steps of what to do, not a detailed how-to. Get into the theme directory: $Drupal7_Home/sites/all/themes/danland, where “danland” is the theme … Continue reading

Posted in Uncategorized | 10 Comments

Fix incorrectly-displayed column names when creating a custom JTableModel that extends AbstractTableModel.

When we write a custom JTable that extends AbstractTableModel, its column names may not be displayed correctly if we forget to override a particular method. By the “incorrect display”, I mean that instead of showing names of the columns specified … Continue reading

Posted in Uncategorized | Leave a comment