Posts

Showing posts from October, 2012
Windows XP Home / Pro Run Commands and Short Cuts How To - Click Start, Click Run and enter the command Click OK Run commands Calc - Calculator   Cfgwiz32 - ISDN Configuration Wizard   Charmap - Character Map   Chkdisk - Repair damaged files   Cleanmgr - Cleans up hard drives   Clipbrd - Windows Clipboard viewer   Cmd - Opens a new Command Window (cmd.exe)   Control - Displays Control Panel   Dcomcnfg - DCOM user security   Debug - Assembly language programming tool   Defrag - Defragmentation tool   Drwatson - Records programs crash & snapshots   Dxdiag - DirectX Diagnostic Utility   Explorer - Windows Explorer   Fontview - Graphical font viewer   Ftp - ftp.exe program   Hostname - Returns Computer's name   Ipconfig - Displays IP configuration for all network adapters   Jview - Microsoft Command-line Loader for Java classes   MMC - Microsoft Management Console   Msconfig - Configuration to edit startup files   Msinfo32 - Microsoft System Information

Mini ATM Project

                          CARD TRANSACTION package Atm; import java.awt.*;            // import java.awt.event.*;     //   PACKAGES import javax.swing.*;       // import java.sql.*;         // public class CardTransactions extends JFrame {        private JButton button1,button2,button3;        private JLabel label1,label2;        static String url = "jdbc:odbc:abc";        Container container;        //---Constructor---        public CardTransactions(){                  super(" Card Transactions");                  Container container = getContentPane();                  container.setLayout(null);                  button1 = new JButton(">>>");                  button1.setPreferredSize(new Dimension(100,30));                  button1.setSize(button1.getPreferredSize());                  button1.setLocation(30,50);                  //---making connection with the database---                  button1.addActionListener(new Act

Java Calculator Java file

                    ********* Calculator program************ import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; /*   <applet code=Calculator width=250 height=250>   </applet> */ public class calculutor implements ActionListener {   private final static int NBUTTONS = 18;   String buttonLabels[] = { "0", "1", "2", "3", "4", "5",     "6", "7", "8", "9", ".", "+/-", "+", "-", "=", "*", "/", "C" };   JButton buttons[];   JTextField tf;   JFrame jf;   String operator;   double register1, register2;   boolean overwriteDisplay;   public void init() {     // Initialize operator     operator = ""; jf=new JFrame(); jf.setTitle("My Calculator"); Container c=jf.getContentPane();     // Set Layout manager for the applet