Ok then the setters originally shown show the minimum amount of code because they have all the correct Strings in the variables and they are to set text fields in a class that has textfields that are already created. But nothing goes in the text field.
public void showKey() {
System.out.println("showKey sets all textfields");
sigTxt = new JTextField();
sigTxt.setText(strSigTxt);
relaToneTxt = new JTextField();
relaToneTxt.setText(strRelaToneTxt);
paraToneTxt = new JTextField();
paraToneTxt.setText(strParaToneTxt);
relaSigTxt = new JTextField();
relaSigTxt.setText(strRelaSigTxt);
paraSigTxt = new JTextField();
paraSigTxt.setText(strParaSigTxt);
majTxt = new JTextField();
majTxt.setText(strMajTxt);
iTxt = new JTextField();
iTxt.setText(strITxt);
ivTxt = new JTextField();
ivTxt.setText(strIVTxt);
viiDDTxt = new JTextField();
viiDDTxt.setText(strVIIDDTxt);
iiiTxt = new JTextField();
iiiTxt.setText(strIIITxt);
viTxt = new JTextField();
viTxt.setText(strVITxt);
iiTxt = new JTextField();
iiTxt.setText(strIITxt);
vTxt = new JTextField();
vTxt.setText(strVTxt);
//textfield relamin
relaMinTxt = new JTextField();
relaMinTxt.setText(strRelaMinTxt);
iRelaTxt = new JTextField();
iRelaTxt.setText(strIRelaTxt);
ivRelaTxt = new JTextField();
ivRelaTxt.setText(strIVRelaTxt);
viiDDRelaTxt = new JTextField();
viiDDRelaTxt.setText(strVIIDDRelaTxt);
iiiAugRelaTxt = new JTextField();
iiiAugRelaTxt.setText(strIIIAugRelaTxt);
viRelaTxt = new JTextField();
viRelaTxt.setText(strVIRelaTxt);
iiDDRelaTxt = new JTextField();
iiDDRelaTxt.setText(strIIDDRelaTxt);
vRelaTxt = new JTextField();
vRelaTxt.setText(strVRelaTxt);
//texfield paramin
paraMinTxt = new JTextField();
paraMinTxt.setText(strParaMinTxt);
iParaTxt = new JTextField();
iParaTxt.setText(strIParaTxt);
ivParaTxt = new JTextField();
ivParaTxt.setText(strIVParaTxt);
viiDDParaTxt = new JTextField();
viiDDParaTxt.setText(strVIIDDParaTxt);
iiiAugParaTxt = new JTextField();
iiiAugParaTxt.setText(strIIIAugParaTxt);
viParaTxt = new JTextField();
viParaTxt.setText(strVIParaTxt);
iiDDParaTxt = new JTextField();
iiDDParaTxt.setText(strIIDDParaTxt);
vParaTxt = new JTextField();
vParaTxt.setText(strVParaTxt);
//appegio==========================
// amajTxt.setText(");
aITxt = new JTextField();
aITxt.setText(strAITxt);
aIVTxt = new JTextField();
aIVTxt.setText(strAIVTxt);
aVIIDDTxt = new JTextField();
aVIIDDTxt.setText(strAVIIDDTxt);
aIIITxt = new JTextField();
aIIITxt.setText(strAIIITxt);
aVITxt = new JTextField();
aVITxt.setText(strAVITxt);
aIITxt = new JTextField();
aIITxt.setText(strAIITxt);
aVTxt = new JTextField();
aVTxt.setText(strAVTxt);
//arelaMinTxt.setText(");
rAITxt = new JTextField();
rAITxt.setText(strRAITxt);
rAIVTxt = new JTextField();
rAIVTxt.setText(strRAIVTxt);
rAVIIDDTxt = new JTextField();
rAVIIDDTxt.setText(strRAVIIDDTxt);
rAIIIAugTxt = new JTextField();
rAIIIAugTxt.setText(strRAIIIAugTxt);
rAVITxt = new JTextField();
rAVITxt.setText(strRAVITxt);
rAIIDDTxt = new JTextField();
rAIIDDTxt.setText(strRAIIDDTxt);
rAVTxt = new JTextField();
rAVTxt.setText(strRAVTxt);
//Car. aparamin);
pAITxt = new JTextField();
pAITxt.setText(strPAITxt);
pAIVTxt = new JTextField();
pAIVTxt.setText(strPAIVTxt);
pAVIIDDTxt = new JTextField();
pAVIIDDTxt.setText(strPAVIIDDTxt);
pAIIIAugTxt = new JTextField();
pAIIIAugTxt.setText(strPAIIIAugTxt);
pAVITxt = new JTextField();
pAVITxt.setText(strPAVITxt);
pAIIDDTxt = new JTextField();
pAIIDDTxt.setText(strPAIIDDTxt);
pAVTxt = new JTextField();
pAVTxt.setText(strPAVTxt);
}
and the textfield names are all correct and use the proper conventions for getters and setters. they are in a system that describes 6 0r 7
word descriptions. You mentioned Hungarian notation. What does this mean?
how would you write variable names that describe one of 51 description prhases
pAIIDDTxt=Parallel key,arpeggio, supertonic, fully diminished chord text?
is there a better way to write this varaible?