Advertisement
irfanamir

Luas

Aug 16th, 2020
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.25 KB | None | 0 0
  1.  
  2. package luas;
  3.  
  4. public class Luas extends javax.swing.JFrame{
  5.  
  6. public Luas() {
  7. initComponents();
  8. }
  9. @SuppressWarnings("unchecked")
  10. private void initComponents(){
  11. jPanel1 = new javax.swing.JPanel();
  12. jLabel1 = new javax.swing.JLabel();
  13. jLabel2 = new javax.swing.JLabel();
  14. jLabel3 = new javax.swing.JLabel();
  15. jLabel4 = new javax.swing.JLabel();
  16. alas = new javax.swing.JTextField();
  17. tinggi = new javax.swing.JTextField();
  18. hasilsegitiga = new javax.swing.JTextField();
  19. panjang = new javax.swing.JTextField();
  20. lebar = new javax.swing.JTextField();
  21. jarijari = new javax.swing.JTextField();
  22. hasillingkaran = new javax.swing.JTextField();
  23. hasilpersegipanjang = new javax.swing.JTextField();
  24. jLabel23 = new javax.swing.JLabel();
  25. jLabel24 = new javax.swing.JLabel();
  26. segitiga = new javax.swing.JButton();
  27. pesegi = new javax.swing.JButton();
  28. lingkaran = new javax.swing.JButton();
  29. jLabel25 = new javax.swing.JLabel();
  30. jLabel5 = new javax.swing.JLabel();
  31. jLabel6 = new javax.swing.JLabel();
  32. jLabel7 = new javax.swing.JLabel();
  33. jLabel8 = new javax.swing.JLabel();
  34. jLabel9 = new javax.swing.JLabel();
  35.  
  36. setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
  37.  
  38. jLabel1.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
  39. jLabel1.setText("Luas Segitiga = ");
  40.  
  41. jLabel2.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
  42. jLabel2.setText("Menghitung Luas Bangun");
  43.  
  44. jLabel3.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
  45. jLabel3.setText("Luas Persegi Panjang = ");
  46.  
  47. jLabel4.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
  48. jLabel4.setText("Luas Lingkaran = ");
  49.  
  50. alas.addActionListener(new java.awt.event.ActionListener() {
  51. public void actionPerformed(java.awt.event.ActionEvent evt) {
  52. alasActionPerformed(evt);
  53. }
  54. });
  55.  
  56. tinggi.addActionListener(new java.awt.event.ActionListener() {
  57. public void actionPerformed(java.awt.event.ActionEvent evt) {
  58. tinggiActionPerformed(evt);
  59. }
  60. });
  61.  
  62. hasilsegitiga.addActionListener(new java.awt.event.ActionListener() {
  63. public void actionPerformed(java.awt.event.ActionEvent evt) {
  64. hasilsegitigaActionPerformed(evt);
  65. }
  66. });
  67.  
  68. panjang.addActionListener(new java.awt.event.ActionListener() {
  69. public void actionPerformed(java.awt.event.ActionEvent evt) {
  70. panjangActionPerformed(evt);
  71. }
  72. });
  73.  
  74. lebar.addActionListener(new java.awt.event.ActionListener() {
  75. public void actionPerformed(java.awt.event.ActionEvent evt) {
  76. lebarActionPerformed(evt);
  77. }
  78. });
  79.  
  80. jarijari.addActionListener(new java.awt.event.ActionListener() {
  81. public void actionPerformed(java.awt.event.ActionEvent evt) {
  82. jarijariActionPerformed(evt);
  83. }
  84. });
  85.  
  86. hasillingkaran.addActionListener(new java.awt.event.ActionListener() {
  87. public void actionPerformed(java.awt.event.ActionEvent evt) {
  88. hasillingkaranActionPerformed(evt);
  89. }
  90. });
  91.  
  92. hasilpersegipanjang.addActionListener(new java.awt.event.ActionListener() {
  93. public void actionPerformed(java.awt.event.ActionEvent evt) {
  94. hasilpersegipanjangActionPerformed(evt);
  95. }
  96. });
  97.  
  98. jLabel23.setText("cm");
  99.  
  100. jLabel24.setText("cm");
  101.  
  102. segitiga.setText("Hitung");
  103. segitiga.addActionListener(new java.awt.event.ActionListener() {
  104. public void actionPerformed(java.awt.event.ActionEvent evt) {
  105. segitigaActionPerformed(evt);
  106. }
  107. });
  108.  
  109. pesegi.setText("Hitung");
  110. pesegi.addActionListener(new java.awt.event.ActionListener() {
  111. public void actionPerformed(java.awt.event.ActionEvent evt) {
  112. pesegiActionPerformed(evt);
  113. }
  114. });
  115.  
  116. lingkaran.setText("Hitung");
  117. lingkaran.addActionListener(new java.awt.event.ActionListener() {
  118. public void actionPerformed(java.awt.event.ActionEvent evt) {
  119. lingkaranActionPerformed(evt);
  120. }
  121. });
  122.  
  123. jLabel25.setText("cm");
  124.  
  125. jLabel5.setText("Alas");
  126.  
  127. jLabel6.setText("Tinggi");
  128.  
  129. jLabel7.setText("Panjang");
  130.  
  131. jLabel8.setText("Lebar");
  132.  
  133. jLabel9.setText("Jari – jari");
  134.  
  135. javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
  136. jPanel1.setLayout(jPanel1Layout);
  137. jPanel1Layout.setHorizontalGroup(
  138. jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  139. .addGroup(jPanel1Layout.createSequentialGroup()
  140. .addContainerGap()
  141. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  142. .addGroup(jPanel1Layout.createSequentialGroup()
  143. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  144. .addGroup(jPanel1Layout.createSequentialGroup()
  145. .addComponent(jLabel4)
  146. .addGap(32, 32, 32))
  147. .addGroup(jPanel1Layout.createSequentialGroup()
  148. .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  149. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  150. .addGroup(jPanel1Layout.createSequentialGroup()
  151. .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  152. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  153. .addGroup(jPanel1Layout.createSequentialGroup()
  154. .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  155. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  156. .addGroup(jPanel1Layout.createSequentialGroup()
  157. .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  158. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  159. .addGroup(jPanel1Layout.createSequentialGroup()
  160. .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  161. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  162. .addGroup(jPanel1Layout.createSequentialGroup()
  163. .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  164. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  165. .addGroup(jPanel1Layout.createSequentialGroup()
  166. .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  167. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
  168. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  169. .addComponent(alas, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE)
  170. .addComponent(panjang, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE)
  171. .addComponent(tinggi, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE)
  172. .addComponent(hasilsegitiga, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE)
  173. .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
  174. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
  175. .addComponent(hasillingkaran, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE)
  176. .addComponent(jarijari, javax.swing.GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE))
  177. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  178. .addGroup(jPanel1Layout.createSequentialGroup()
  179. .addComponent(lebar, javax.swing.GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE)
  180. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
  181. .addGroup(jPanel1Layout.createSequentialGroup()
  182. .addComponent(hasilpersegipanjang, javax.swing.GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE)
  183. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
  184. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  185. .addGroup(jPanel1Layout.createSequentialGroup()
  186. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  187. .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
  188. .addGap(4, 4, 4)
  189. .addComponent(jLabel25, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
  190. .addGap(18, 18, 18)
  191. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
  192. .addComponent(pesegi)
  193. .addComponent(segitiga)))
  194. .addGroup(jPanel1Layout.createSequentialGroup()
  195. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
  196. .addComponent(jLabel24, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
  197. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 32, Short.MAX_VALUE)
  198. .addComponent(lingkaran)))
  199. .addContainerGap())
  200. .addGroup(jPanel1Layout.createSequentialGroup()
  201. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
  202. .addComponent(jLabel23, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
  203. .addContainerGap())))
  204. .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
  205. .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 205, javax.swing.GroupLayout.PREFERRED_SIZE)
  206. .addGap(63, 63, 63))))
  207. );
  208. jPanel1Layout.setVerticalGroup(
  209. jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  210. .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
  211. .addGap(22, 22, 22)
  212. .addComponent(jLabel2)
  213. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)
  214. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
  215. .addComponent(jLabel4)
  216. .addGroup(jPanel1Layout.createSequentialGroup()
  217. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  218. .addGroup(jPanel1Layout.createSequentialGroup()
  219. .addGap(57, 57, 57)
  220. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  221. .addComponent(hasilsegitiga, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  222. .addComponent(jLabel25)
  223. .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
  224. .addComponent(segitiga))
  225. .addGap(21, 21, 21)
  226. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  227. .addComponent(panjang, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  228. .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)))
  229. .addGroup(jPanel1Layout.createSequentialGroup()
  230. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  231. .addComponent(alas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  232. .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE))
  233. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  234. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  235. .addComponent(tinggi, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  236. .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE))))
  237. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  238. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  239. .addGroup(jPanel1Layout.createSequentialGroup()
  240. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  241. .addComponent(lebar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  242. .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE))
  243. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  244. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  245. .addComponent(hasilpersegipanjang, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  246. .addComponent(jLabel3)))
  247. .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  248. .addComponent(pesegi)
  249. .addComponent(jLabel23)))
  250. .addGap(24, 24, 24)
  251. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  252. .addComponent(jarijari, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  253. .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE))
  254. .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  255. .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  256. .addComponent(hasillingkaran, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  257. .addComponent(jLabel24)
  258. .addComponent(lingkaran))))
  259. .addGap(48, 48, 48))
  260. );
  261.  
  262. javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
  263. getContentPane().setLayout(layout);
  264. layout.setHorizontalGroup(
  265. layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  266. .addGroup(layout.createSequentialGroup()
  267. .addContainerGap()
  268. .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  269. .addContainerGap())
  270. );
  271. layout.setVerticalGroup(
  272. layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  273. .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
  274. .addContainerGap()
  275. .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  276. .addContainerGap())
  277. );
  278.  
  279. pack();
  280. }// </editor-fold>
  281.  
  282. private void alasActionPerformed(java.awt.event.ActionEvent evt) {
  283. // TODO add your handling code here:
  284. }
  285.  
  286. private void tinggiActionPerformed(java.awt.event.ActionEvent evt) {
  287. // TODO add your handling code here:
  288. }
  289.  
  290. private void hasilsegitigaActionPerformed(java.awt.event.ActionEvent evt) {
  291. // TODO add your handling code here:
  292. }
  293.  
  294. private void panjangActionPerformed(java.awt.event.ActionEvent evt) {
  295. // TODO add your handling code here:
  296. }
  297.  
  298. private void lebarActionPerformed(java.awt.event.ActionEvent evt) {
  299. // TODO add your handling code here:
  300. }
  301.  
  302. private void jarijariActionPerformed(java.awt.event.ActionEvent evt) {
  303. // TODO add your handling code here:
  304. }
  305.  
  306. private void hasillingkaranActionPerformed(java.awt.event.ActionEvent evt) {
  307. // TODO add your handling code here:
  308. }
  309.  
  310. private void hasilpersegipanjangActionPerformed(java.awt.event.ActionEvent evt) {
  311. // TODO add your handling code here:
  312. }
  313.  
  314. private void segitigaActionPerformed(java.awt.event.ActionEvent evt) {
  315. double Alas = Double.parseDouble(alas.getText());
  316. double Tinggi = Double.parseDouble(tinggi.getText());
  317.  
  318. double Hasil = (Alas*Tinggi)/2;
  319. hasilsegitiga.setText(String.valueOf(Hasil));
  320. }
  321.  
  322. private void pesegiActionPerformed(java.awt.event.ActionEvent evt) {
  323. double Panjang = Double.parseDouble(panjang.getText());
  324. double Lebar = Double.parseDouble(lebar.getText());
  325.  
  326. double Hasil = (Panjang*Lebar);
  327. hasilpersegipanjang.setText(String.valueOf(Hasil));
  328. }
  329.  
  330. private void lingkaranActionPerformed(java.awt.event.ActionEvent evt) {
  331. double Jari = Double.parseDouble(jarijari.getText());
  332. double phi = 3.14;
  333. double Hasil = phi*(Jari*Jari);
  334. hasillingkaran.setText(String.valueOf(Hasil));
  335.  
  336. }
  337.  
  338. public static void main(String[] args) {
  339. try {
  340. for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
  341. if ("Nimbus".equals(info.getName())) {
  342. javax.swing.UIManager.setLookAndFeel(info.getClassName());
  343. break;
  344. }
  345. }
  346. } catch (ClassNotFoundException ex) {
  347. java.util.logging.Logger.getLogger(Luas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  348. } catch (InstantiationException ex) {
  349. java.util.logging.Logger.getLogger(Luas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  350. } catch (IllegalAccessException ex) {
  351. java.util.logging.Logger.getLogger(Luas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  352. } catch (javax.swing.UnsupportedLookAndFeelException ex) {
  353. java.util.logging.Logger.getLogger(Luas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  354. }
  355. //</editor-fold>
  356.  
  357. /* Create and display the form */
  358. java.awt.EventQueue.invokeLater(new Runnable() {
  359.  
  360. public void run() {
  361. new Luas().setVisible(true);
  362. }
  363. });
  364. }
  365. // Variables declaration – do not modify
  366. private javax.swing.JTextField alas;
  367. private javax.swing.JTextField hasillingkaran;
  368. private javax.swing.JTextField hasilpersegipanjang;
  369. private javax.swing.JTextField hasilsegitiga;
  370. private javax.swing.JLabel jLabel1;
  371. private javax.swing.JLabel jLabel10;
  372. private javax.swing.JLabel jLabel11;
  373. private javax.swing.JLabel jLabel12;
  374. private javax.swing.JLabel jLabel13;
  375. private javax.swing.JLabel jLabel14;
  376. private javax.swing.JLabel jLabel15;
  377. private javax.swing.JLabel jLabel16;
  378. private javax.swing.JLabel jLabel17;
  379. private javax.swing.JLabel jLabel18;
  380. private javax.swing.JLabel jLabel2;
  381. private javax.swing.JLabel jLabel23;
  382. private javax.swing.JLabel jLabel24;
  383. private javax.swing.JLabel jLabel25;
  384. private javax.swing.JLabel jLabel3;
  385. private javax.swing.JLabel jLabel4;
  386. private javax.swing.JLabel jLabel5;
  387. private javax.swing.JLabel jLabel6;
  388. private javax.swing.JLabel jLabel7;
  389. private javax.swing.JLabel jLabel8;
  390. private javax.swing.JLabel jLabel9;
  391. private javax.swing.JPanel jPanel1;
  392. private javax.swing.JPanel jPanel2;
  393. private javax.swing.JTextField jTextField10;
  394. private javax.swing.JTextField jTextField11;
  395. private javax.swing.JTextField jTextField12;
  396. private javax.swing.JTextField jTextField7;
  397. private javax.swing.JTextField jTextField8;
  398. private javax.swing.JTextField jTextField9;
  399. private javax.swing.JTextField jarijari;
  400. private javax.swing.JTextField lebar;
  401. private javax.swing.JButton lingkaran;
  402. private javax.swing.JTextField panjang;
  403. private javax.swing.JButton pesegi;
  404. private javax.swing.JButton segitiga;
  405. private javax.swing.JTextField tinggi;
  406. }
  407.  
  408.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement