(double w)
| 1173 | |
| 1174 | } |
| 1175 | }public void setWidth(double w){ |
| 1176 | if(measure.getSelectedIndex()==0){ |
| 1177 | //pixel ist selektiert, d.h. keine Nachkommastellen anzeigen! |
| 1178 | |
| 1179 | width.setText(((int)w)+""); |
| 1180 | }else{ |
| 1181 | // angabe in cm / inch: |
| 1182 | // bieigen: |
| 1183 | width.setText((w+" ").substring(0,8).replaceAll(" ","")); |
| 1184 | |
| 1185 | } |
| 1186 | } |
| 1187 | |
| 1188 | |
| 1189 | class removeListener implements ActionListener { |
no outgoing calls
no test coverage detected