Variable will not set...
creditsEarned = ((Number)creditsEarnedField.getValue()).doubleValue();
System.out.println(String.valueOf(creditsEarned));
and here is the code that I'm using to print them when they click on the "Print" button.
menuItem.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent k)
{
//WordProcessing.createNewDocumentFromTemplate("creditConversion");
//WordProcessing.typeTextAtBookmark("studentName", studentName);
System.out.println(String.valueOf(studentName));
//WordProcessing.typeTextAtBookmark("studentNumber", studentNumber);
System.out.println(String.valueOf(studentNumber));
//WordProcessing.typeTextAtBookmark("creditsEarned", creditsEarned);
System.out.println(String.valueOf(creditsEarned));
//WordProcessing.typeTextAtBookmark("remainingCredits", ARHSCredits);
System.out.println(String.valueOf(ARHSCredits));
//WordProcessing.typeTextAtBookmark("totalCreditsNeeded", creditTotal);
//WordProcessing.printToPrinterToSelectByUserAndForget();
//WordProcessing.quitApplication();
//WordProcessing.exec();
System.out.println(getCredits());
}
});
When I print them out in the DOS screen they all have the right values when I print them after I set them.(first code segment) But when I print them when the "Print" button is pressed they all return as null, 0, or 0.0 :confused: (depending on their type). Any help is greatly appreciated and thanks in advance. Feel free to ask any questions if I haven't been clear enough.

