ource (). equals (jbUndo))) {
}
//redo (ae.getSource ()!=null amp; amp; (ae.getSource (). equals (redoAction) || ae.getSource (). equals (jbRedo))) {
}
//copy (ae.getSource ()!=null amp; amp; (ae.getSource (). equals (copyAction) || ae.getSource (). equals (jbCopy))) {
}
//cut (ae.getSource ()!=null amp; amp; (ae.getSource (). equals (cutAction) || ae.getSource (). equals (jbCut))) {
}
//paste (ae.getSource ()!=null amp; amp; (ae.getSource (). equals (pasteAction) || ae.getSource (). equals (jbPaste))) {
}
//hyper link (ae.getSource ()!=null amp; amp; ae.getSource (). equals (hyperAction)) {
}
/* Формат тексту
* ЖКЧ
* Сам текст */(ae.getActionCommand (). equals (fontBox)) {= (String) fontBox.getSelectedItem ();
}
//bold (ae.getSource ()!=null amp; amp; ae.getSource (). equals (jbBold)) {[Q] .setFont (new Font (item, Font.BOLD , fontSize));
}
//Italic (ae.getSource ()!=null amp; amp; ae.getSource (). equals (jbItalic)) {[Q] .setFont (new Font (item, Font.ITALIC , fontSize));
}
//underlined (ae.getSource ()!=null amp; amp; ae.getSource (). equals (jbUnderLine)) {[Q] .setFont (new Font (item, Font.PLAIN , fontSize));
}
}
static void main (String [] args) {.invokeLater (new Runnable () {void run () {Gnumeric ();
}
});
}
}
MarchModel extends AbstractTableModel {static final long serialVersionUID=1L; numRows; numCols; [] colNames; [] [] data;
(int len, int cols) {();=len;=cols;
=new String [cols]; (int i=0; i lt; cols; i ++) {(i == 0) colNames [i]=«#»; {a=i - 1 + A raquo ;; [] b=new char [1]; [0]=(char) a; [i]=new String (b);
}
}=new Object [len] [cols]; (int i=0; i lt; len; i ++) (int j=0; j lt; cols; j ++) {(j == 0) data [i] [j]=i + 1; data [i] [j]=«»;
}
}
int getRowCount () {return numRows;} int getColumnCount () {return numCols;} String getColumnName (int c) {return colNames [c];} Object getValueAt (int r, int c) { return data [r] [c];} boolean isCellEditable (int r, int c) {(c!=0) {return true;} false;
} void setValueAt (Object obj, int r, int c) {[r] [c]=obj; (r, c);
}
}