Majestics 84 Posting Pro
line 6 
 SequenceFilesFromDirectory

Last Error belongs to it, U have to make object first.

Majestics 84 Posting Pro

// Use this constructor
FileWriter("PATH",boolean append)

i mean to enable append use
FileWriter("PATH",true);

Majestics 84 Posting Pro

jasper report can be used with Java desktop application....

Majestics 84 Posting Pro

Try Birt Report or Jasper Report. U can also use oracle reports and crystal reports, Unless u want to create your own reporting software.

Majestics 84 Posting Pro
Majestics 84 Posting Pro
//Wrong
for (arrayPosition = 0; arrayPosition == cipherText.length(); arrayPosition++, letterPosition++)

//Right
for (arrayPosition = 0; arrayPosition < cipherText.length(); arrayPosition++, letterPosition++)

You have used == instead of less or greater then symbol on line 29

mKorbel commented: good catch +9
Majestics 84 Posting Pro

There are alot error. If you want to make them run then try to solve each error, eclipse is one of the best Java visual editor tool, simply bring cursor over the error and it will provide you help that how to resolve that error. U can post more problem after that , finally every thing will start working. :)

Majestics 84 Posting Pro
import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
import java.text.DecimalFormat;
     
    /**
    The Test class is an applet that calulates
    ticket prices for a theatre.
    */
     
    public class Test extends JApplet
    {
    private JPanel mPanel; // To hold a text field
    private JPanel aPanel; // To hold a text field
    private JPanel bPanel; // To hold a text field
    private JPanel tPanel; // To hold a text field
    private JPanel buttonPanel; // To hold a button
    private JTextField member; // members
    private JTextField area; // seating area
    private JTextField ticketnum; // tickets
    private JTextField total; // total cost
     
    /**
    init method
    */
     
    public void init()
    {
    // Build the panels.
    buildmPanel();
    buildaPanel();
    buildbPanel();
    buildtPanel();
     
    buildButtonPanel();
     
    // Create a layout manager.
    setLayout(new GridLayout(5, 1));
     
    // Add the panels to the content pane.
    add(mPanel);
    add(aPanel);
    add(bPanel);
    add(tPanel);
    add(buttonPanel);
    }
     
    /**
    The buildtPanel method creates a panel with a text
    field in which the user can enter whether they are a member
    or not.
     
    */
     
    private void buildmPanel()
    {
    // Create the panel.
    mPanel = new JPanel();
     
    // Create a label to display a message.
    JLabel message1 =
    new JLabel("Are You a Member (Y/N)?: ");
     
    // Create a text field for the Member temp.
    member = new JTextField(10);
     
    // Create a layout manager for the panel.
    mPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
     
    // Add the label and text field to the panel.
    mPanel.add(message1);
    mPanel.add(member);
    }
     
    private void buildaPanel()
    {
    // Create the panel.
    aPanel = new JPanel();
     
    // Create a label to display a message.
    JLabel message2 =
    new …
NormR1 commented: Don't spoon feed by Giving full code -3
Majestics 84 Posting Pro

Please post pictures..... I already told u , no body guess what the problem is.

Majestics 84 Posting Pro
Insert I=new Insert(acc,amount,nm,fine,// Pass this as well);
I.setVisible(true);
this.setVisible(false);

In insert class define a jframe and do this

frame  = this; //Reference Transfer , this "this" refer to original calling frame..

and when u close that insert class frame then through "frame" reference u can open back parent frame.

this "this" isnt syntax only to show u how to get work done.

Majestics 84 Posting Pro

If you have used single class then both objects can easily see each other, if u are using two different classes then pass them to constructor as reference

classBFrame = new classBFrame(FrameA);

Also paste your code here.............

Majestics 84 Posting Pro

//opening Frame B

frameA.setVisible(false);
frameB = new JFrame();
frameB.setVisible(true);
//Or
frameB.setVisible(true);

// Closing Frame B

frameA.setVisible(true);
frameB.dispose();

Just remove your title bar from frame B and provide a close button.

Majestics 84 Posting Pro

it will be very easy for us if u take two or three snapshot of your screen and load here.............

Majestics 84 Posting Pro

Click the Src package u have made, i think you must clicked some library and running the application....

Majestics 84 Posting Pro

1) start from jdk6 ...
2)Best Book: http://www.amazon.com/Java-Complete-Reference-Seventh-Osborne/dp/0072263857
3)Download Jdk From Here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html
4)Editor: Notepad or Notepad++ for starter, Eclipse and Netbeans for Advance User
5) Also for Api reference : http://download.oracle.com/javase/1.4.2/docs/api/overview-summary.html

Majestics 84 Posting Pro

re validate before repaint.
Google some example you will get it.

Majestics 84 Posting Pro

Output can vary according to your computer's regional settings.

Majestics 84 Posting Pro
import java.util.Date;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;

    private String getDateTime() {
        DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
        Date date = new Date();
        return dateFormat.format(date);
    }

Format Your Date Structure.

Majestics 84 Posting Pro
ResultSet res1 = stat1.executeQuery ("insert into client (column names) values ('joker','Miraj',110)" );

Auto Number generated Automatically , insert row directly. MENTION column name in which you want to insert data.

Majestics 84 Posting Pro
while(rs.next()){
jTable1.getValueAt(row, col);
row++;
col++;
 
}

WHAT ARE U DOING WITH IT?

Majestics 84 Posting Pro

Got my Mistake Sorry.................

Majestics 84 Posting Pro

then y extend keyword is used....

Majestics 84 Posting Pro

I already have given a link

Majestics 84 Posting Pro

if u are talking to me then

public final class DiffieHellman extends java.applet.Applet implements
Majestics 84 Posting Pro

A final class cannot be extended.
http://en.wikipedia.org/wiki/Final_%28Java%29

Majestics 84 Posting Pro

You forget to add constructor....

DropGame()
{
addKeyListener(this);
}
Majestics 84 Posting Pro
public class PhoneBookEntry {
     
    private String name;
    private String number;
     
    PhoneBookEntry(String string, String string2 ){
    	name = string;
    	number = string2;
    }
    public void setName (String phoneName){
    name = phoneName;
    }
    public String getName (){
    return name;
    }
    public void setNumber(String phoneNumber){
    number = phoneNumber;
    }
    public String getNumber(){
    return number;
    }
    public static void add(PhoneBookEntry phoneBookEntry) {
    // TODO Auto-generated method stub
     
    }
    }

Where are u stucked... I just modified a bit code.... i think u are stuck in printing.

Majestics 84 Posting Pro

take them in a char array and count the number with the help of for loop or while loop.............

Majestics 84 Posting Pro

Add MouseListener Interface in the class, add mouselistener property with the button , write necessary function of mouse listener
http://download.oracle.com/javase/tutorial/uiswing/events/mouselistener.html
write your code in any function of mouse event which is for preferable for you....

Majestics 84 Posting Pro
Majestics 84 Posting Pro
#include <iostream>
   
      #include <cstdlib>
   
      #include <iomanip>
   
      #include <ctime>
   
       
   
      using namespace std;
   
       
   
       
   
      int main ()
         
  
     {
  
      srand((unsigned)time(0));
  
      int add1, add2, sub1, sub2;
  
      int multiply1, multiply2, div1, div2;
  
      int choice=0, input;
  
      add1 = (rand()%500)+1;
  
      add2 = (rand()%500)+1;
  
      sub1 = (rand()%500)+1;
  
      sub2 = (rand()%98)+1;
  
      multiply1 = (rand()%98)+1;
  
     multiply2 = (rand()%8)+1;
  
    div1 = (rand()%500)+1;
  
      div2 = (rand()%8)+1;
  
     int addAnswer = add1 + add2;
  
      int subAnswer = sub1- sub2;
  
      int multiplyAnswer = multiply1 * multiply2;
  
      int divAnswer = div1 / div2;
  
       
  
       
  
          
  
     //Display the menu and get the user's choice
  
      while(choice!=5)
	  {
	  cout << " Geometry Calculator \n\n";
  
      cout << "1. Addition\n";
  
      cout << "2. Subtraction\n";
  
      cout << "3. Multiplication\n";
  
      cout << "4. Division\n";
  
     cout << "5. Quit\n";
  
      cout << "\n";
  
       
  
      cout <<"Enter your choice (1-5): ";
  
      cin >> choice;
  
      cout << "\n";
  
       
  
       
  
      if (choice==1)
  
      {
  
      cout << setw (6) << add1 << endl;
  
      cout << "+ ";
  
      cout << setw (4) << add2 << endl;
  
      cout << "------";
  
      cout << "\n";
  
      cin >> input;
  
      cout << "\n";
  
      if
  
      (input == addAnswer)
  
      cout << "Congratulations\n";
  
      else
  
      cout << "That is incorrect,\nThe correct answer is: " << addAnswer;
  
      cout << "\n";
  
      return 0;
  
      }
  
       
  
      else if (choice==2)
  
      {
  
      cout << setw (6) << sub1 << endl;
  
      cout << "- ";
  
      cout << setw (4) << sub2 << endl;
  
      cout << "------";
  
      cout << "\n";
  
      cin >> input;
  
      cout << "\n";
  
      if
  
      (input == subAnswer)
  
      cout << "Congratulations\n";
  
      else
  
      cout << "That is incorrect,\nThe correct answer is: " << subAnswer;
  
      cout << "\n";
  
      return 0;}
  
       
  
     else if …
Majestics 84 Posting Pro
while (choice!=5)
{
Your Programme Body

}

Remember to Intialize Choice With any Number without 5

Majestics 84 Posting Pro
while (choice!=5) 
{
    Your Programme Body
}

Remember to Intialize Choice With any Number without 5

Majestics 84 Posting Pro

You havent define your class date

Class date d;

I am just guessing . Please check it.

Majestics 84 Posting Pro

Where is your "Date.h".

Majestics 84 Posting Pro

sorry it is

if(check>19)
Majestics 84 Posting Pro
for(i=0; i<arry_size; i++)
	{
            int check=rand()4%20;
             if(check!=19)            
 	nums[i] = check; 
	}

I dont got your point clearly. May be it is helpful to you.

Majestics 84 Posting Pro
Majestics 84 Posting Pro

use this

while((c=getche()!='\r')
{
cout<<"*";
i++;
}

Majestics 84 Posting Pro

actually Your function is calling again and again . It is a concept of recursive function in which each values are stored in memory after each call until termination.

Majestics 84 Posting Pro

U can like this "Number==5"

Majestics 84 Posting Pro

i think know u understand

Majestics 84 Posting Pro

like i=4 and j=4 so it will become 4pow4 = 256

Majestics 84 Posting Pro

"i" is actually the number and "j" is its power.

Majestics 84 Posting Pro

Actually You are calling a recursive function ....
it will continue until value of j becomes 1