Archive for the ‘Programming’
Java Mobile Programming: J2ME Chat Application Using Datagram
Posted on March 4, 2010
Enjoyed one of my Computer Science elective class back in college, all about J2ME (Java Micro Edition) – a Java development platform for mobile devices. Got interested in reviewing the topic again since I learned that developing Android applications is similar to the once we discussed in school. So might as well refresh what I [...]
PHP/MySQL Quick Cheat Sheet
Posted on January 15, 2010
SETUP INSTRUCTION:
Download and install WAMP (Windows Apache MySQL PHP) Server at www.wampserver.com/en or you can use other server package that supports MySQL and PHP applications (ex. AppServ, LAMP, etc.)
Once installed, make sure that your localhost is up and running and try to access http://localhost
Read the manual on how to create and where to save your [...]
Java: Adding Copy/Cut/Paste Functions
Posted on January 7, 2010
If you are trying to do some sort of a text editor using Java or any form which you would like to add the copy, cut, and paste functionality to it, just follow this simple steps:
First, include this line above your code with other imported classes:
import javax.swing.text.EditorKit;
For Menu Items:
JMenuItem cutMenu = new JMenuItem(new DefaultEditorKit.CutAction());
cutMenu.setText("Cut");
cutMenu.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.CTRL_MASK));
JMenuItem [...]
The Go Programming Language – a Systems Programming Language
Posted on November 11, 2009
Sorry for a short blogging hiatus, for a month, but I am back trying to catch up and updating you with what’s new or interesting topic about technology. Just earlier today, I received an email alert from a tech e-group I joined. It’s about the new Go Programming Language.
Go Programming Language is an open-source language [...]
Object-Oriented Programming with PHP
Posted on June 28, 2009
The recent PHP versions now supports object-oriented programming or OOP, which usually are in class form. Since PHP OOP are in class form, they have accessors, mutators, data members, etc. — much like the usual OOP programming languages. Last week, we started a short crash course with Web Development with PHP/MYSQL. So, I introduced a [...]
