You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

View.java 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package view;
  7. /**
  8. *
  9. * @author Apollo
  10. */
  11. public class View extends javax.swing.JPanel
  12. {
  13. /**
  14. * @return the LblCounter
  15. */
  16. public javax.swing.JLabel getLblCounter()
  17. {
  18. return LblCounter;
  19. }
  20. /**
  21. * @param LblCounter the LblCounter to set
  22. */
  23. public void setLblCounter(javax.swing.JLabel LblCounter)
  24. {
  25. this.LblCounter = LblCounter;
  26. }
  27. /**
  28. * Creates new form view
  29. */
  30. public View()
  31. {
  32. initComponents();
  33. }
  34. /**
  35. * This method is called from within the constructor to initialize the form.
  36. * WARNING: Do NOT modify this code. The content of this method is always
  37. * regenerated by the Form Editor.
  38. */
  39. @SuppressWarnings("unchecked")
  40. // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  41. private void initComponents()
  42. {
  43. LblCounter = new javax.swing.JLabel();
  44. LblCounter.setFont(new java.awt.Font("Lucida Grande", 0, 36)); // NOI18N
  45. LblCounter.setText("10");
  46. javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
  47. this.setLayout(layout);
  48. layout.setHorizontalGroup(
  49. layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  50. .addGroup(layout.createSequentialGroup()
  51. .addGap(23, 23, 23)
  52. .addComponent(LblCounter, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE)
  53. .addContainerGap(26, Short.MAX_VALUE))
  54. );
  55. layout.setVerticalGroup(
  56. layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  57. .addGroup(layout.createSequentialGroup()
  58. .addGap(36, 36, 36)
  59. .addComponent(LblCounter, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
  60. .addContainerGap(38, Short.MAX_VALUE))
  61. );
  62. }// </editor-fold>//GEN-END:initComponents
  63. // Variables declaration - do not modify//GEN-BEGIN:variables
  64. private javax.swing.JLabel LblCounter;
  65. // End of variables declaration//GEN-END:variables
  66. }