JFrame refference fron another Class Question

From: WEConsultants (weconsultants_at_epix.net)
Date: 05/31/04


Date: Mon, 31 May 2004 14:10:09 GMT

Hi all,

Sorry but have not written Java code in some time. I have a java program
working fine execpt for one problem. (see compliation error). It displays a
new JFrame every time I invoke the SelectAppMaxCount.QuoteData(); If I don't
put the new SelectAppFrame() I can refference the JFrams fields..
Sorry, I just can't resolve the refference to the original JFrame only the
new instances of it. Cold some one point me i the right direction?

Thanks in Advance
Bill

Code structure goes someting like this
=======================================

Classs SelectAppFrame extents JFrame{

 public SelectAppFrame(){
 jbInit();
 }

 public static void main(String args[]) {
     SelectAppMaxCount.QuoteData();
   }
}
.
.
.
.
public class SelectAppMaxCount extends SelectAppFrame{

 public static void QuoteData() {
// If I add the folowng... it works for thr refferene but every time I call
QuoteData() I get a new fram displayed with all the new information.
//
// SelectAppFrame selectAppFrame = new SelectAppFrame();

            selectAppFrame.jQuoteTextName.setText(fullName);
            selectAppFrame.jQuoteTextDescDates.setText(descdates);
            selectAppFrame.jQuoteTextArea.setText(quote);

 {
}
.
.
Complitation Errors:
Error(108,28): cannot access class selectAppFrame.jQuoteTextName; file
selectAppFrame\jQuoteTextName.class not found
Error(109,28): cannot access class selectAppFrame.jQuoteTextDescDates; file
selectAppFrame\jQuoteTextDescDates.class not found
Error(110,28): cannot access class selectAppFrame.jQuoteTextArea; file
selectAppFrame\jQuoteTextArea.class not found