Javadoc isn't including methods in generated HTML

When I run javadoc on the class below, the HTML pages being generated don't include the methods I've written. Can anyone tell me what I'm doing wrong? Note that this source code was actually generated by a decompiler, as I somehow managed to lose the original source code I wrote. Thanks.

import java.awt.*;

import java.awt.event.*;

import java.io.PrintStream;

import java.sql.*;

import javax.swing.*;

import javax.swing.border.TitledBorder;

/**

Creates a menu for creating, deleting, and editing H2O users.

*/

publicclass AdminMenuextends JFrame

{

private JButton jbutton1, jbutton2;

privateint columnID;

private Statement s;

private Connection con;

privateint rowCount;

private GridLayout layout;

private ResultSet rs;

private Boolean hasResults;

private JTextField field1;

private JTextField field2;

private JTextField field3;

private JTextField field4;

private JTextField field5;

private JComboBox criteriaBox;

private JComboBox criteriaBox2;

private String access;

private String tempAccess;

private JPanel centerPanel;

private JPanel southPanel;

/**

Constructs a blank AdminMenu.

*/

public AdminMenu()

{

super("User Administration");

setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("drop.jpg")));

setLayout(new BorderLayout());

centerPanel =new JPanel();

centerPanel.setLayout(new GridLayout(5, 3));

TitledBorder titledborder =new TitledBorder("Existing User");

titledborder.setTitleColor(Color.blue);

centerPanel.setBorder(titledborder);

centerPanel.add(new JLabel("Search by username: "));

field1 =new JTextField();

centerPanel.add(field1);

JButton jbutton =new JButton("Search");

centerPanel.add(jbutton);

centerPanel.add(new JLabel(""));

centerPanel.add(new JLabel(""));

centerPanel.add(new JLabel(""));

centerPanel.add(new JLabel("Username"));

centerPanel.add(new JLabel("Password"));

centerPanel.add(new JLabel("Rights"));

field2 =new JTextField();

centerPanel.add(field2);

field2.setEditable(false);

field2.setBackground(Color.white);

field3 =new JTextField();

centerPanel.add(field3);

String as[] =new String[3];

as[0] ="View";

as[1] ="Edit";

as[2] ="Full";

criteriaBox =new JComboBox(as);

centerPanel.add(criteriaBox);

criteriaBox.setBackground(Color.white);

centerPanel.add(new JLabel(""));

jbutton1 =new JButton("Submit");

jbutton1.setEnabled(false);

centerPanel.add(jbutton1);

jbutton2 =new JButton("Delete");

jbutton2.setEnabled(false);

centerPanel.add(jbutton2);

add(centerPanel,"North");

add((new JPanel()).add(new JLabel("")),"Center");

southPanel =new JPanel();

southPanel.setLayout(new GridLayout(2, 3));

TitledBorder titledborder1 =new TitledBorder("New User");

titledborder1.setTitleColor(Color.blue);

southPanel.setBorder(titledborder1);

field4 =new JTextField();

southPanel.add(field4);

field5 =new JTextField();

southPanel.add(field5);

String as1[] =new String[3];

as1[0] ="View";

as1[1] ="Edit";

as1[2] ="Full";

criteriaBox2 =new JComboBox(as1);

southPanel.add(criteriaBox2);

criteriaBox2.setBackground(Color.white);

southPanel.add(new JLabel(""));

southPanel.add(new JLabel(""));

JButton jbutton3 =new JButton("Create");

southPanel.add(jbutton3);

add(southPanel,"South");

jbutton.addActionListener(new ActionListener()

{

publicvoid actionPerformed(ActionEvent actionevent)

{

databaseQuery();

}

final AdminMenu this$0;

{

this$0 = AdminMenu.this;

}

});

jbutton1.addActionListener(new ActionListener()

{

publicvoid actionPerformed(ActionEvent actionevent)

{

if(criteriaBox.getSelectedIndex() == 0) access ="view";

if(criteriaBox.getSelectedIndex() == 1) access ="edit";

if(criteriaBox.getSelectedIndex() == 2) access ="full";

databaseQuery2((new StringBuilder()).append("update Authentication set password='").append(field3.getText()).append("', access='").append(access).append("' where username='").append(field2.getText()).append("';").toString());

field1.setText("");

field2.setText("");

field3.setText("");

criteriaBox.setSelectedIndex(0);

jbutton1.setEnabled(false);

jbutton2.setEnabled(false);

}

final AdminMenu this$0;

{

this$0 = AdminMenu.this;

}

});

jbutton3.addActionListener(new ActionListener()

{

publicvoid actionPerformed(ActionEvent actionevent)

{

if(criteriaBox2.getSelectedIndex() == 0) access ="view";

if(criteriaBox2.getSelectedIndex() == 1) access ="edit";

if(criteriaBox2.getSelectedIndex() == 2) access ="full";

databaseQuery2((new StringBuilder()).append("insert into Authentication values ('").append(field4.getText()).append("','").append(field5.getText()).append("','").append(access).append("');").toString());

field4.setText("");

field5.setText("");

criteriaBox2.setSelectedIndex(0);

}

final AdminMenu this$0;

{

this$0 = AdminMenu.this;

}

});

jbutton2.addActionListener(new ActionListener()

{

publicvoid actionPerformed(ActionEvent actionevent)

{

if(JOptionPane.showConfirmDialog(null,"Are You Sure?","Delete Confirmation", JOptionPane.YES_NO_OPTION)==0)

{

databaseQuery2((new StringBuilder()).append("delete from Authentication where username='").append(field2.getText()).append("';").toString());

field1.setText("");

field2.setText("");

field3.setText("");

criteriaBox.setSelectedIndex(0);

jbutton1.setEnabled(false);

jbutton2.setEnabled(false);

}

}

final AdminMenu this$0;

{

this$0 = AdminMenu.this;

}

});

WindowAdapter windowadapter =new WindowAdapter()

{

publicvoid windowClosing(WindowEvent windowevent)

{

new MainMenu();

}

final AdminMenu this$0;

{

this$0 = AdminMenu.this;

}

};

addWindowListener(windowadapter);

}

/**

Searches for an H2O user in SQL database.

*/

privatevoid databaseQuery()

{

try

{

Class.forName("net.sourceforge.jtds.jdbc.Driver");

String dbURL ="jdbc:jtds:sqlserver://khrcs4:1433/Mail_List;user=sa;password=xxxxx";

Connection con = DriverManager.getConnection(dbURL);

Statement s = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);

s.execute((new StringBuilder()).append("Select * from Authentication where username = '").append(field1.getText()).append("';").toString());

rs = s.getResultSet();

hasResults = Boolean.valueOf(false);

if(rs !=null)do

{

if(!rs.next())break;

hasResults = Boolean.valueOf(true);

field2.setText(rs.getString(1));

field3.setText(rs.getString(2));

tempAccess = rs.getString(3).trim();

if(tempAccess.equals("view")) criteriaBox.setSelectedIndex(0);

if(tempAccess.equals("edit")) criteriaBox.setSelectedIndex(1);

if(tempAccess.equals("full")) criteriaBox.setSelectedIndex(2);

jbutton1.setEnabled(true);

jbutton2.setEnabled(true);

}

while(true);

if(!hasResults.booleanValue())

{

jbutton1.setEnabled(false);

jbutton2.setEnabled(false);

field2.setText("");

field3.setText("");

criteriaBox.setSelectedIndex(0);

JOptionPane.showMessageDialog(null,"Username Not Found!","Error", 2);

}

rs.close();

s.close();

con.close();

}

catch(Exception exception)

{

System.out.println((new StringBuilder()).append("ERROR: ").append(exception).toString());

}

}

/**

Executes SQL query to create, edit, or delete an H2O user from SQL database.

@param s1 the SQL statement to be executed

*/

privatevoid databaseQuery2(String s1)

{

try

{

Class.forName("net.sourceforge.jtds.jdbc.Driver");

String dbURL ="jdbc:jtds:sqlserver://khrcs4:1433/Mail_List;user=sa;password=xxxx";

Connection con = DriverManager.getConnection(dbURL);

Statement s = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);

s.execute(s1);

s.close();

con.close();

}

catch(Exception exception)

{

System.out.println((new StringBuilder()).append("ERROR: ").append(exception).toString());

}

}

}

[16480 byte] By [ScottS.a] at [2007-11-27 10:26:35]
# 1

If it's just the private ones, I don't think private methods get javadoc'd. But I seem to recall there's a switch to turn that on.

aakturea at 2007-7-28 17:40:21 > top of Java-index,Core,Monitoring & Management...
# 2

Maybe you tried this already>

http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#private

aakturea at 2007-7-28 17:40:21 > top of Java-index,Core,Monitoring & Management...