|
| |
| |
| |
|
Statistics |
| Unique Visitors: 0 |
| Total Unique Visitors: 2475378 |
| Visitors Out: 5084 |
| Total Visitors Out: 29471 |
|
|
|
| |
|
|
| |
|
| Select all JCheckBox in one click |
| 2010-12-23 02:08:00 |
Watch video below :*********************************************************************COMPLETE SOURCE CODE FOR : JCheckBoxMultipleSelectInOneClick.java*********************************************************************import javax.swing.JCheckBox;import javax.swing.JFrame;import java.awt.GridLayout;import java.awt.event.ActionListener;import java.awt.event.ActionEvent;public class JCheckBoxMultipleSelectInOneClick extends JFrame implements ActionListener{ //Create JCheckBox object JCheckBox a=new JCheckBox("Select All"); JCheckBox b=new JCheckBox("Car"); JCheckBox c=new JCheckBox("Lorry"); JCheckBox d=new JCheckBox("Motorcycle"); //Constructor for JCheckBoxMultipleSelectInOneClick class public JCheckBoxMultipleSelectInOneClick() { //Set JFrame title super("Select All JCheckBox In On...
|
| |
|
| Open folder or directory in Windows 7 using java |
| 2010-09-14 08:59:00 |
Complete source code below will show you, how to open folder through java in Windows 7.************************************************************************COMPLETE SOURCE CODE FOR : OpenFolderInJava.javaThank you to Ankur Pandya for this source codes.************************************************************************/// file OpenFolderInJava.java ////import java.util.*;import java.io.*;import java.awt.Desktop;class OpenFolderInJava{public static void main(String[] arg){String path = "."; // path to the directory to be openedFile file = new File("C:\\");Desktop desktop = null;// Before more Desktop API is used, first check// whether the API is supported by this particular// virtual machine (VM) on this particular host.if (Desktop.isDesktopSupported()) {desktop = Desktop.getDesktop(...
|
| |
|
| Java Hotel Management Program (Philippine) |
| 2010-03-27 12:18:00 |
*********************************************************************COMPLETE SOURCE CODE FOR : TTKH.javaBY : Phi*********************************************************************/** * @(#)TTKH.java * * TTKH application * * @author * @version 1.00 2010/3/21 */import javax.swing.*;import java.awt.*;public class TTKH { public static void main(String[] args) { try { // Set System L&F UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName()); } catch (UnsupportedLookAndFeelException e) { // handle exception } catch (ClassNotFoundException e) { // handle exception } catch (InstantiationException e) { // handle exception } catch (IllegalAccessException e) { // handle exception } //=---...
|
| |
|
|
|
|
|
|
|
|
| |
 |