Package hibernateSwingApi.component

Examples of hibernateSwingApi.component.CTextField


    gbc_cLabelBarkodVeyaMiktar.gridwidth = 4;
    gbc_cLabelBarkodVeyaMiktar.gridx = 0;
    gbc_cLabelBarkodVeyaMiktar.gridy = 0;
    panel.add(cLabelBarkodVeyaMiktar, gbc_cLabelBarkodVeyaMiktar);

    cTextFieldBarkodVeyaMiktar = new CTextField(14) {
      private static final long serialVersionUID = 1L;

      @Override
      public void addNotify() {
        super.addNotify();
View Full Code Here


    cPanelPersonel = new JPanel();
    cPanelPersonelEkleme = new JPanel();
    cPanelPersonelEkleme.setBackground(UIManager.getColor("Button.shadow"));

    cTextFieldAd = new CTextField(20);
    cTextFieldAd.setBounds(226, 171, 186, 20);

    cTextFieldSoyad = new CTextField(20);
    cTextFieldSoyad.setBounds(226, 199, 186, 20);

    JButtonMusteriEkle = new JButton();
    JButtonMusteriEkle.setBounds(89, 551, 323, 40);
    JButtonMusteriEkle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/kullaniciEkle.png"));
    JButtonMusteriEkle.setText("MÜŞTERİ EKLE");
    JButtonMusteriEkle.setFont(new Font("Tahoma", Font.BOLD, 15));

    MaskFormatter mf = null;
    try {
      mf = new MaskFormatter("(###) ### ## ##");
      mf.setPlaceholderCharacter('_');
    } catch (ParseException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }

    cTextFieldTelNo = new CTextField(mf);
    cTextFieldTelNo.setBounds(226, 258, 186, 20);
    cTextFieldTelNo.setAsNumberTextField();

    JButtonTemizle = new JButton();
    JButtonTemizle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/temizle.png"));
    JButtonTemizle.setBounds(370, 11, 108, 27);

    JButtonTemizle.setFont(new Font("Tahoma", Font.BOLD, 9));
    JButtonTemizle.setText("TEM\u0130ZLE");

    cLabelMusteriEkleme = new JLabel();
    cLabelMusteriEkleme.setFont(new Font("Tahoma", Font.BOLD, 16));
    cLabelMusteriEkleme.setText("MÜŞTERİ EKLEME");

    cLabelPersonelAd = new JLabel();
    cLabelPersonelAd.setBounds(89, 171, 127, 20);
    cLabelPersonelAd.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelPersonelAd.setText("*Ad\u0131");

    cLabelPersonelSoyad = new JLabel();
    cLabelPersonelSoyad.setBounds(89, 199, 127, 20);
    cLabelPersonelSoyad.setText("*Soyad\u0131");
    cLabelPersonelSoyad.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelTelNo = new JLabel();
    cLabelPersonelTelNo.setBounds(89, 258, 127, 20);
    cLabelPersonelTelNo.setText("Tel No.");
    cLabelPersonelTelNo.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelAdres = new JLabel();
    cLabelPersonelAdres.setBounds(89, 349, 127, 20);
    cLabelPersonelAdres.setText("Adresi");
    cLabelPersonelAdres.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelMusteriBTarih = new JLabel();
    cLabelMusteriBTarih.setBounds(89, 504, 127, 20);
    cLabelMusteriBTarih.setText("Ba\u015Flama Tarihi");
    cLabelMusteriBTarih.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelIcon = new JLabel();
    cLabelPersonelIcon.setBounds(194, 11, 96, 116);
    cLabelPersonelIcon.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/personelIcon.png"));

    JButtonMusteriGeri = new JButton();
    JButtonMusteriGeri.setBounds(89, 602, 323, 40);
    JButtonMusteriGeri.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/geriButonu.png"));
    JButtonMusteriGeri.setText("\u0130PTAL");
    JButtonMusteriGeri.setFont(new Font("Tahoma", Font.BOLD, 15));

    cScrollPanePersonelAdres = new JScrollPane();
    cScrollPanePersonelAdres.setBounds(226, 349, 186, 51);

    cTextAreaAdres = new CTextArea(100);
    cTextAreaAdres.setLineWrap(true);
    cScrollPanePersonelAdres.setViewportView(cTextAreaAdres);

    jDateChooserMusteriTarih = new JDateChooser();
    jDateChooserMusteriTarih.setBounds(226, 504, 186, 20);
    jDateChooserMusteriTarih.setDate(new Date());
    ((JTextFieldDateEditor) jDateChooserMusteriTarih.getDateEditor())
        .setEditable(false);

    GroupLayout groupLayout = new GroupLayout(getContentPane());
    groupLayout.setHorizontalGroup(groupLayout.createParallelGroup(
        Alignment.LEADING).addGroup(
        groupLayout
            .createSequentialGroup()
            .addContainerGap()
            .addComponent(cPanelPersonel, GroupLayout.DEFAULT_SIZE,
                485, Short.MAX_VALUE).addGap(9)));
    groupLayout.setVerticalGroup(groupLayout.createParallelGroup(
        Alignment.LEADING).addGroup(
        groupLayout
            .createSequentialGroup()
            .addContainerGap()
            .addComponent(cPanelPersonel,
                GroupLayout.PREFERRED_SIZE, 662,
                Short.MAX_VALUE).addContainerGap()));
    GroupLayout gl_cPanelPersonel = new GroupLayout(cPanelPersonel);
    gl_cPanelPersonel.setHorizontalGroup(gl_cPanelPersonel
        .createParallelGroup(Alignment.LEADING)
        .addGroup(
            gl_cPanelPersonel
                .createSequentialGroup()
                .addComponent(cLabelMusteriEkleme,
                    GroupLayout.DEFAULT_SIZE, 170,
                    Short.MAX_VALUE).addGap(315))
        .addComponent(cPanelPersonelEkleme, GroupLayout.DEFAULT_SIZE,
            485, Short.MAX_VALUE));
    gl_cPanelPersonel.setVerticalGroup(gl_cPanelPersonel
        .createParallelGroup(Alignment.LEADING).addGroup(
            gl_cPanelPersonel
                .createSequentialGroup()
                .addComponent(cLabelMusteriEkleme,
                    GroupLayout.DEFAULT_SIZE,
                    GroupLayout.DEFAULT_SIZE,
                    Short.MAX_VALUE)
                .addPreferredGap(ComponentPlacement.RELATED)
                .addComponent(cPanelPersonelEkleme,
                    GroupLayout.PREFERRED_SIZE, 667,
                    GroupLayout.PREFERRED_SIZE)));

    cPanelPersonelEkleme.setLayout(null);
    cPanelPersonelEkleme.add(cLabelPersonelIcon);
    cPanelPersonelEkleme.add(JButtonTemizle);
    cPanelPersonelEkleme.add(cLabelPersonelAd);
    cPanelPersonelEkleme.add(cTextFieldAd);
    cPanelPersonelEkleme.add(cLabelPersonelSoyad);
    cPanelPersonelEkleme.add(cTextFieldSoyad);
    cPanelPersonelEkleme.add(cLabelPersonelTelNo);
    cPanelPersonelEkleme.add(cTextFieldTelNo);
    cPanelPersonelEkleme.add(cLabelMusteriBTarih);
    cPanelPersonelEkleme.add(jDateChooserMusteriTarih);
    cPanelPersonelEkleme.add(JButtonMusteriEkle);
    cPanelPersonelEkleme.add(JButtonMusteriGeri);
    cPanelPersonelEkleme.add(cLabelPersonelAdres);
    cPanelPersonelEkleme.add(cScrollPanePersonelAdres);

    jLabelMusteriEmail = new JLabel();
    jLabelMusteriEmail.setText("E-posta");
    jLabelMusteriEmail.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelMusteriEmail.setBounds(89, 318, 127, 20);
    cPanelPersonelEkleme.add(jLabelMusteriEmail);

    cTextFieldEmail = new CTextField(40);
    cTextFieldEmail.setHint(E_MAIL);
    cTextFieldEmail.setBounds(226, 318, 186, 20);
    cPanelPersonelEkleme.add(cTextFieldEmail);

    buttonGroup = new ButtonGroup();

    jRadioButtonBireysel = new JRadioButton("BİREYSEL MÜŞTERİ");
    jRadioButtonBireysel.setBounds(59, 134, 170, 20);
    cPanelPersonelEkleme.add(jRadioButtonBireysel);

    jRadioButtonKurumsal = new JRadioButton("KURUMSAL MÜŞTERİ");
    jRadioButtonKurumsal.setBounds(255, 134, 173, 20);
    cPanelPersonelEkleme.add(jRadioButtonKurumsal);

    jRadioButtonBireysel.setActionCommand(B_MUSTERI);
    jRadioButtonKurumsal.setActionCommand(K_MUSTERI);

    buttonGroup.add(jRadioButtonBireysel);
    buttonGroup.add(jRadioButtonKurumsal);

    jLabelFaksNo = new JLabel();
    jLabelFaksNo.setEnabled(false);
    jLabelFaksNo.setText("Faks No.");
    jLabelFaksNo.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelFaksNo.setBounds(89, 287, 127, 20);
    cPanelPersonelEkleme.add(jLabelFaksNo);

    cTextFieldFaksNo = new CTextField(mf);
    cTextFieldFaksNo.setEnabled(false);
    cTextFieldFaksNo.setBounds(226, 287, 186, 20);
    cTextFieldFaksNo.setAsNumberTextField();
    cPanelPersonelEkleme.add(cTextFieldFaksNo);

    jLabelVergiDairesi = new JLabel();
    jLabelVergiDairesi.setEnabled(false);
    jLabelVergiDairesi.setText("Vergi Dairesi");
    jLabelVergiDairesi.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelVergiDairesi.setBounds(89, 411, 127, 20);
    cPanelPersonelEkleme.add(jLabelVergiDairesi);

    cTextFieldVergiDairesi = new CTextField(10);
    cTextFieldVergiDairesi.setEnabled(false);
    cTextFieldVergiDairesi.setBounds(226, 411, 186, 20);
    cPanelPersonelEkleme.add(cTextFieldVergiDairesi);

    cTextFieldVergiNo = new CTextField(20);
    cTextFieldVergiNo.setEnabled(false);
    cTextFieldVergiNo.setBounds(226, 473, 186, 20);
    cTextFieldVergiNo.setAsOnlyNumberTextField();
    cPanelPersonelEkleme.add(cTextFieldVergiNo);

    jLabelVergiNo = new JLabel();
    jLabelVergiNo.setEnabled(false);
    jLabelVergiNo.setText("Vergi No.");
    jLabelVergiNo.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelVergiNo.setBounds(89, 473, 127, 20);
    cPanelPersonelEkleme.add(jLabelVergiNo);

    jLabelFirmaAd = new JLabel();
    jLabelFirmaAd.setEnabled(false);
    jLabelFirmaAd.setText("*Firma Adı");
    jLabelFirmaAd.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelFirmaAd.setBounds(89, 227, 127, 20);
    cPanelPersonelEkleme.add(jLabelFirmaAd);

    cTextFieldFirmaAd = new CTextField(20);
    cTextFieldFirmaAd.setEnabled(false);
    cTextFieldFirmaAd.setBounds(226, 227, 186, 20);
    cPanelPersonelEkleme.add(cTextFieldFirmaAd);

    jLabelTCNo = new JLabel();
    jLabelTCNo.setText("TC No.");
    jLabelTCNo.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelTCNo.setBounds(89, 442, 127, 20);
    cPanelPersonelEkleme.add(jLabelTCNo);

    cTextFieldTCNo = new CTextField(11);
    cTextFieldTCNo.setAsOnlyNumberTextField();
    cTextFieldTCNo.setBounds(226, 442, 186, 20);
    cPanelPersonelEkleme.add(cTextFieldTCNo);

    cPanelPersonel.setLayout(gl_cPanelPersonel);
View Full Code Here

    jPanelBankaAd = new JPanel();
    jPanelBankaAd.setBackground(UIManager.getColor("Button.shadow"));
    jPanelBankaAd.setBorder(new LineBorder(new Color(0, 0, 0), 2));

    cTextFieldBankaAdi = new CTextField();
    cTextFieldBankaAdi.setHorizontalAlignment(SwingConstants.CENTER);
    cTextFieldBankaAdi.setColumns(10);

    jLabelBankaAd = new JLabel("*Banka Adı ");
    jLabelBankaAd.setFont(new Font("Tahoma", Font.BOLD, 14));

    jLabelTekCekim = new JLabel("*Tek Çekim Komisyon");
    jLabelTekCekim.setFont(new Font("Tahoma", Font.BOLD, 11));

    jTextFieldTekCekim = new CTextField();
    jTextFieldTekCekim.setHorizontalAlignment(SwingConstants.CENTER);
    jTextFieldTekCekim.setColumns(10);
    GroupLayout gl_jPanelBankaAd = new GroupLayout(jPanelBankaAd);
    gl_jPanelBankaAd
        .setHorizontalGroup(gl_jPanelBankaAd
            .createParallelGroup(Alignment.LEADING)
            .addGroup(
                gl_jPanelBankaAd
                    .createSequentialGroup()
                    .addGap(8)
                    .addGroup(
                        gl_jPanelBankaAd
                            .createParallelGroup(
                                Alignment.LEADING)
                            .addComponent(
                                jLabelTekCekim,
                                GroupLayout.PREFERRED_SIZE,
                                128,
                                GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jLabelBankaAd,
                                GroupLayout.PREFERRED_SIZE,
                                108,
                                GroupLayout.PREFERRED_SIZE))
                    .addGap(34)
                    .addGroup(
                        gl_jPanelBankaAd
                            .createParallelGroup(
                                Alignment.LEADING,
                                false)
                            .addComponent(
                                jTextFieldTekCekim,
                                GroupLayout.DEFAULT_SIZE,
                                GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                cTextFieldBankaAdi,
                                GroupLayout.DEFAULT_SIZE,
                                158,
                                Short.MAX_VALUE))
                    .addGap(8)));
    gl_jPanelBankaAd
        .setVerticalGroup(gl_jPanelBankaAd
            .createParallelGroup(Alignment.LEADING)
            .addGroup(
                gl_jPanelBankaAd
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        gl_jPanelBankaAd
                            .createParallelGroup(
                                Alignment.TRAILING)
                            .addComponent(
                                cTextFieldBankaAdi,
                                GroupLayout.PREFERRED_SIZE,
                                28,
                                GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jLabelBankaAd,
                                GroupLayout.PREFERRED_SIZE,
                                25,
                                GroupLayout.PREFERRED_SIZE))
                    .addGap(10)
                    .addGroup(
                        gl_jPanelBankaAd
                            .createParallelGroup(
                                Alignment.BASELINE)
                            .addComponent(
                                jLabelTekCekim,
                                GroupLayout.PREFERRED_SIZE,
                                26,
                                GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextFieldTekCekim,
                                GroupLayout.PREFERRED_SIZE,
                                23,
                                GroupLayout.PREFERRED_SIZE))));
    jPanelBankaAd.setLayout(gl_jPanelBankaAd);

    cPanelVadeBilgi = new JPanel();
    cPanelVadeBilgi.setBorder(new LineBorder(new Color(0, 0, 0), 2));
    cPanelVadeBilgi.setBackground(UIManager.getColor("Button.shadow"));

    jLabelVadeSayisi = new JLabel("Vade Sayısı");
    jLabelVadeSayisi.setFont(new Font("Tahoma", Font.BOLD, 14));

    jLabelKomisyon = new JLabel("Komisyon");
    jLabelKomisyon.setFont(new Font("Tahoma", Font.BOLD, 14));

    jTextFieldKomisyon = new CTextField();
    jTextFieldKomisyon.setHorizontalAlignment(SwingConstants.CENTER);
    jTextFieldKomisyon.setColumns(10);

    jButtonEkle = new JButton("EKLE");
    jButtonEkle.setIcon(PSAUtil
View Full Code Here

      mf.setPlaceholderCharacter('_');
    } catch (ParseException e) {
      e.printStackTrace();
    }

    cTextFieldPersonelTelNo = new CTextField(mf);
    cTextFieldPersonelTelNo.setBounds(226, 188, 186, 20);

    cComboBoxPersonelUnvan = new CComboBox<PersonelUnvan>(
        PersonelUnvan.class);
    cComboBoxPersonelUnvan.setBounds(226, 279, 186, 20);

    SpinnerModel spinnerModel = new SpinnerNumberModel(0, 0, 99, 1);
    cSpinnerPersonelPrim = new JSpinner();
    cSpinnerPersonelPrim.setBounds(226, 307, 83, 20);
    cSpinnerPersonelPrim.setModel(spinnerModel);

    cLabelPersonelGuncelleme = new JLabel();
    cLabelPersonelGuncelleme.setFont(new Font("Tahoma", Font.BOLD, 16));
    cLabelPersonelGuncelleme
        .setText("PERSONEL B\u0130LG\u0130S\u0130 G\u00DCNCELLEME");

    cLabelPersonelAd = new JLabel();
    cLabelPersonelAd.setBounds(89, 132, 127, 20);
    cLabelPersonelAd.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelPersonelAd.setText("*Ad\u0131");

    cLabelPersonelSoyad = new JLabel();
    cLabelPersonelSoyad.setBounds(89, 160, 127, 20);
    cLabelPersonelSoyad.setText("*Soyad\u0131");
    cLabelPersonelSoyad.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelTelNo = new JLabel();
    cLabelPersonelTelNo.setBounds(89, 188, 127, 20);
    cLabelPersonelTelNo.setText("*Tel No.");
    cLabelPersonelTelNo.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelAdres = new JLabel();
    cLabelPersonelAdres.setBounds(89, 219, 127, 20);
    cLabelPersonelAdres.setText("Adresi");
    cLabelPersonelAdres.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelUnvan = new JLabel();
    cLabelPersonelUnvan.setBounds(89, 279, 127, 20);
    cLabelPersonelUnvan.setText("\u00DCnvan\u0131");
    cLabelPersonelUnvan.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelPrim = new JLabel();
    cLabelPersonelPrim.setBounds(89, 307, 127, 20);
    cLabelPersonelPrim.setText("Prim Miktar\u0131 ( % )");
    cLabelPersonelPrim.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelMaas = new JLabel();
    cLabelPersonelMaas.setBounds(89, 335, 127, 20);
    cLabelPersonelMaas.setText("Maa\u015F Miktar\u0131");
    cLabelPersonelMaas.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelBTarih = new JLabel();
    cLabelPersonelBTarih.setBounds(89, 363, 127, 20);
    cLabelPersonelBTarih.setText("Ba\u015Flama Tarihi");
    cLabelPersonelBTarih.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelPersonelIcon = new JLabel();
    cLabelPersonelIcon.setBounds(194, 11, 96, 115);
    cLabelPersonelIcon.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/personelIcon.png"));

    JButtonPersonelGeri = new JButton();
    JButtonPersonelGeri.setBounds(89, 476, 323, 40);
    JButtonPersonelGeri.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/geriButonu.png"));
    JButtonPersonelGeri.setText("GER\u0130 D\u00D6N");
    JButtonPersonelGeri.setFont(new Font("Tahoma", Font.BOLD, 15));

    cScrollPanePersonelAdres = new JScrollPane();
    cScrollPanePersonelAdres.setBounds(226, 219, 186, 51);

    cTextAreaPersonelAdres = new CTextArea(100);
    cTextAreaPersonelAdres.setLineWrap(true);
    cScrollPanePersonelAdres.setViewportView(cTextAreaPersonelAdres);

    jDateChooserPersonelTarih = new JDateChooser();
    jDateChooserPersonelTarih.setBounds(226, 363, 186, 20);
    ((JTextFieldDateEditor) jDateChooserPersonelTarih.getDateEditor())
        .setEditable(false);

    cTextFieldPersonelMaasTamKisim = new CTextField(7);
    cTextFieldPersonelMaasTamKisim.setAsOnlyNumberTextField();
    cTextFieldPersonelMaasTamKisim.setText("0");
    cTextFieldPersonelMaasTamKisim
        .setHorizontalAlignment(SwingConstants.RIGHT);
    cTextFieldPersonelMaasTamKisim.setBounds(226, 335, 111, 20);
    cPanelPersonelEkleme.add(cTextFieldPersonelMaasTamKisim);

    cLabelVirgul = new JLabel();
    cLabelVirgul.setText(",");
    cLabelVirgul.setFont(new Font("Tahoma", Font.PLAIN, 15));
    cLabelVirgul.setBounds(341, 335, 5, 20);
    cPanelPersonelEkleme.add(cLabelVirgul);

    cTextFieldPersonelMaasKurusKisim = new CTextField(2);
    cTextFieldPersonelMaasKurusKisim.setAsOnlyNumberTextField();
    cTextFieldPersonelMaasKurusKisim.setText("00");
    cTextFieldPersonelMaasKurusKisim.setBounds(347, 335, 44, 20);
    cPanelPersonelEkleme.add(cTextFieldPersonelMaasKurusKisim);

View Full Code Here

    jLabelIadeParaBilgi.setText("Müşteriye Ödenecek Tutar");
    jLabelIadeParaBilgi.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelIadeParaBilgi.setBounds(352, 171, 223, 20);
    jPanelUrun.add(jLabelIadeParaBilgi);

    cTextFieldTamKisim = new CTextField(7);
    cTextFieldTamKisim.setFont(new Font("Tahoma", Font.PLAIN, 13));
    cTextFieldTamKisim.setText("0");
    cTextFieldTamKisim.setHorizontalAlignment(SwingConstants.RIGHT);
    cTextFieldTamKisim.setBounds(579, 171, 86, 20);
    cTextFieldTamKisim.setAsOnlyNumberTextField();
    jPanelUrun.add(cTextFieldTamKisim);

    jLabelVirgul = new JLabel();
    jLabelVirgul.setText(",");
    jLabelVirgul.setBounds(668, 171, 9, 29);
    jPanelUrun.add(jLabelVirgul);

    cTextFieldKurusKisim = new CTextField(2);
    cTextFieldKurusKisim.setFont(new Font("Tahoma", Font.PLAIN, 13));
    cTextFieldKurusKisim.setText("00");
    cTextFieldKurusKisim.setBounds(675, 171, 33, 20);
    cTextFieldKurusKisim.setAsOnlyNumberTextField();
    jPanelUrun.add(cTextFieldKurusKisim);
View Full Code Here

    cPanelPersonel = new JPanel();
    cPanelPersonelEkleme = new JPanel();
    cPanelPersonelEkleme.setBackground(UIManager.getColor("Button.shadow"));

    cTextFieldPersonelAd = new CTextField(20);
    cTextFieldPersonelAd.setBounds(226, 132, 186, 20);

    cTextFieldPersonelSoyad = new CTextField(20);
    cTextFieldPersonelSoyad.setBounds(226, 160, 186, 20);

    JButtonPersonelEkle = new JButton();
    JButtonPersonelEkle.setBounds(89, 425, 323, 40);
    JButtonPersonelEkle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/kullaniciEkle.png"));
    JButtonPersonelEkle.setText("PERSONEL EKLE");
    JButtonPersonelEkle.setFont(new Font("Tahoma", Font.BOLD, 15));

    MaskFormatter mf = null;
    try {
      mf = new MaskFormatter("(###) ### ## ##");
      mf.setPlaceholderCharacter('_');
    } catch (ParseException e) {
      e.printStackTrace();
    }

    cTextFieldPersonelTelNo = new CTextField(mf);
    cTextFieldPersonelTelNo.setBounds(226, 188, 186, 20);

    cComboBoxPersonelUnvan = new CComboBox<PersonelUnvan>(
        PersonelUnvan.class);
    cComboBoxPersonelUnvan.setBounds(226, 279, 186, 20);

    SpinnerModel spinnerModel = new SpinnerNumberModel(0, 0, 99, 1);
    cSpinnerPersonelPrim = new JSpinner();
    cSpinnerPersonelPrim.setBounds(226, 307, 76, 20);
    cSpinnerPersonelPrim.setModel(spinnerModel);

    cTextFieldPersonelMaasTamKisim = new CTextField(7);
    cTextFieldPersonelMaasTamKisim.setBounds(226, 335, 111, 20);
    cTextFieldPersonelMaasTamKisim
        .setHorizontalAlignment(SwingConstants.RIGHT);
    cTextFieldPersonelMaasTamKisim.setText("0");
    cTextFieldPersonelMaasTamKisim.setAsOnlyNumberTextField();

    JButtonTemizle = new JButton();
    JButtonTemizle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/temizle.png"));
    JButtonTemizle.setBounds(370, 11, 108, 27);

    JButtonTemizle.setFont(new Font("Tahoma", Font.BOLD, 9));
    JButtonTemizle.setText("TEM\u0130ZLE");

    cTextFieldPersonelMaasKurusKisim = new CTextField(2);
    cTextFieldPersonelMaasKurusKisim.setAsOnlyNumberTextField();
    cTextFieldPersonelMaasKurusKisim.setBounds(347, 335, 44, 20);
    cTextFieldPersonelMaasKurusKisim.setText("00");

    cLabelVirgul = new JLabel();
View Full Code Here

      GridBagConstraints gbc_label = new GridBagConstraints();
      gbc_label.insets = new Insets(0, 0, 5, 0);
      gbc_label.anchor = GridBagConstraints.WEST;
      gbc_label.gridx = 0;
      gbc_label.gridy = k;
      CTextField field = new CTextField(30);
      GridBagConstraints gbc_textField_1 = new GridBagConstraints();
      gbc_label.insets = new Insets(0, 0, 5, 0);
      gbc_textField_1.fill = GridBagConstraints.HORIZONTAL;
      gbc_textField_1.gridx = 1;
      gbc_textField_1.gridy = k;
      String labelName = label.getText();
      switch (labelName) {
      case "sirketAdi":
        field.setText(labelList.get(i).getText());
        break;
      case "bosLabel-1":
        field.setText(labelList.get(i).getText());
        break;
      case "bosLabel-2":
        field.setText(labelList.get(i).getText());
        break;
      case "bosLabel-3":
        field.setText(labelList.get(i).getText());
        break;
      case "bosLabel-4":
        field.setText(labelList.get(i).getText());
        break;
      case "kod":
        field.setText(urunOlustur.getKod());
        break;
      case "sezon":
        field.setText(urunOlustur.getSezon());
        break;
      case "renk":
        field.setText(urunOlustur.getRenkAd());
        break;
      case "grup":
        field.setText(urunOlustur.getGrup());
        break;
      case "model":
        field.setText(urunOlustur.getModel());
        break;
      case "beden":
        field.setText(urunOlustur.getBeden());
        break;

      case "cinsiyet":
        field.setText(urunOlustur.getCinsiyet());
        break;
      case "marka":
        field.setText(urunOlustur.getMarka());
        break;
      case "pesinSatisFiyati":
        double a = urunOlustur.getPesinSatisFiyati();
        String[] parts = (String.valueOf(a)).split("\\.");
        String b = "";
        if (parts[1].equals("0")) {
          b = parts[0] + ".00";
        } else {
          if (parts[1].length() == 1) {
            b = parts[0] + "." + parts[1] + "0";
          } else {
            b = parts[0] + "." + parts[1];
          }

        }
        field.setText(b);
        break;
      case "taksitliSatisFiyati":
        double c = urunOlustur.getTaksitliSatisFiyati();
        String[] parts1 = (String.valueOf(c)).split("\\.");
        String d = "";
        if (parts1[1].equals("0")) {
          d = parts1[0] + ".00";
        } else {
          if (parts1[1].length() == 1) {
            d = parts1[0] + "." + parts1[1] + "0";
          } else {
            d = parts1[0] + "." + parts1[1];
          }

        }
        field.setText(d);
        break;
      default:
        break;
      }
View Full Code Here

    gbc_jLabelBarkod.insets = new Insets(0, 0, 5, 5);
    gbc_jLabelBarkod.gridx = 0;
    gbc_jLabelBarkod.gridy = 0;
    jPanelKisit.add(jLabelBarkod, gbc_jLabelBarkod);

    jTextFieldBarkod = new CTextField();
    GridBagConstraints gbc_jTextFieldBarkod = new GridBagConstraints();
    gbc_jTextFieldBarkod.insets = new Insets(0, 0, 5, 0);
    gbc_jTextFieldBarkod.fill = GridBagConstraints.BOTH;
    gbc_jTextFieldBarkod.gridx = 1;
    gbc_jTextFieldBarkod.gridy = 0;
    jPanelKisit.add(jTextFieldBarkod, gbc_jTextFieldBarkod);
    jTextFieldBarkod.setColumns(10);
    jTextFieldBarkod.setAsOnlyNumberTextField();

    jLabelSezon = new JLabel();
    jLabelSezon.setText("Sezonu");
    jLabelSezon.setFont(new Font("Tahoma", Font.BOLD, 14));
    GridBagConstraints gbc_jLabelSezon = new GridBagConstraints();
    gbc_jLabelSezon.anchor = GridBagConstraints.WEST;
    gbc_jLabelSezon.fill = GridBagConstraints.VERTICAL;
    gbc_jLabelSezon.insets = new Insets(0, 0, 5, 5);
    gbc_jLabelSezon.gridx = 0;
    gbc_jLabelSezon.gridy = 1;
    jPanelKisit.add(jLabelSezon, gbc_jLabelSezon);

    jComboBoxSezon = new CComboBox<UrunSezon>(UrunSezon.class);
    GridBagConstraints gbc_jComboBoxSezon = new GridBagConstraints();
    gbc_jComboBoxSezon.fill = GridBagConstraints.BOTH;
    gbc_jComboBoxSezon.insets = new Insets(0, 0, 5, 0);
    gbc_jComboBoxSezon.gridx = 1;
    gbc_jComboBoxSezon.gridy = 1;
    jPanelKisit.add(jComboBoxSezon, gbc_jComboBoxSezon);

    jLabelGrup = new JLabel();
    jLabelGrup.setText("Grubu");
    jLabelGrup.setFont(new Font("Tahoma", Font.BOLD, 14));
    GridBagConstraints gbc_jLabelGrup = new GridBagConstraints();
    gbc_jLabelGrup.anchor = GridBagConstraints.WEST;
    gbc_jLabelGrup.fill = GridBagConstraints.VERTICAL;
    gbc_jLabelGrup.insets = new Insets(0, 0, 5, 5);
    gbc_jLabelGrup.gridx = 0;
    gbc_jLabelGrup.gridy = 2;
    jPanelKisit.add(jLabelGrup, gbc_jLabelGrup);

    jComboBoxGrup = new CComboBox<UrunGrup>(UrunGrup.class);
    GridBagConstraints gbc_jComboBoxGrup = new GridBagConstraints();
    gbc_jComboBoxGrup.fill = GridBagConstraints.BOTH;
    gbc_jComboBoxGrup.insets = new Insets(0, 0, 5, 0);
    gbc_jComboBoxGrup.gridx = 1;
    gbc_jComboBoxGrup.gridy = 2;
    jPanelKisit.add(jComboBoxGrup, gbc_jComboBoxGrup);

    jLabelModel = new JLabel();
    jLabelModel.setText("Modeli");
    jLabelModel.setFont(new Font("Tahoma", Font.BOLD, 14));
    GridBagConstraints gbc_jLabelModel = new GridBagConstraints();
    gbc_jLabelModel.anchor = GridBagConstraints.WEST;
    gbc_jLabelModel.fill = GridBagConstraints.VERTICAL;
    gbc_jLabelModel.insets = new Insets(0, 0, 5, 5);
    gbc_jLabelModel.gridx = 0;
    gbc_jLabelModel.gridy = 3;
    jPanelKisit.add(jLabelModel, gbc_jLabelModel);

    jComboBoxModel = new CComboBox<UrunModel>(UrunModel.class);
    GridBagConstraints gbc_jComboBoxModel = new GridBagConstraints();
    gbc_jComboBoxModel.fill = GridBagConstraints.BOTH;
    gbc_jComboBoxModel.insets = new Insets(0, 0, 5, 0);
    gbc_jComboBoxModel.gridx = 1;
    gbc_jComboBoxModel.gridy = 3;
    jPanelKisit.add(jComboBoxModel, gbc_jComboBoxModel);

    jLabelBeden = new JLabel();
    jLabelBeden.setText("Bedeni");
    jLabelBeden.setFont(new Font("Tahoma", Font.BOLD, 14));
    GridBagConstraints gbc_jLabelBeden = new GridBagConstraints();
    gbc_jLabelBeden.anchor = GridBagConstraints.WEST;
    gbc_jLabelBeden.fill = GridBagConstraints.VERTICAL;
    gbc_jLabelBeden.insets = new Insets(0, 0, 5, 5);
    gbc_jLabelBeden.gridx = 0;
    gbc_jLabelBeden.gridy = 4;
    jPanelKisit.add(jLabelBeden, gbc_jLabelBeden);

    jComboBoxBeden = new CComboBox<UrunBeden>(UrunBeden.class);
    GridBagConstraints gbc_jComboBoxBeden = new GridBagConstraints();
    gbc_jComboBoxBeden.fill = GridBagConstraints.BOTH;
    gbc_jComboBoxBeden.insets = new Insets(0, 0, 5, 0);
    gbc_jComboBoxBeden.gridx = 1;
    gbc_jComboBoxBeden.gridy = 4;
    jPanelKisit.add(jComboBoxBeden, gbc_jComboBoxBeden);

    jLabelRenk = new JLabel();
    jLabelRenk.setText("Rengi");
    jLabelRenk.setFont(new Font("Tahoma", Font.BOLD, 14));
    GridBagConstraints gbc_jLabelRenk = new GridBagConstraints();
    gbc_jLabelRenk.anchor = GridBagConstraints.WEST;
    gbc_jLabelRenk.fill = GridBagConstraints.VERTICAL;
    gbc_jLabelRenk.insets = new Insets(0, 0, 5, 5);
    gbc_jLabelRenk.gridx = 0;
    gbc_jLabelRenk.gridy = 5;
    jPanelKisit.add(jLabelRenk, gbc_jLabelRenk);

    jTextFieldRenk = new CTextField(30);
    jTextFieldRenk.setText("RENK YOK");
    jTextFieldRenk.setHorizontalAlignment(SwingConstants.CENTER);
    jTextFieldRenk.setForeground(Color.BLACK);
    jTextFieldRenk.setEditable(false);
    jTextFieldRenk.setBackground(Color.WHITE);
View Full Code Here

    cLabelUrunSecilenKategori = new JLabel();
    cLabelUrunSecilenKategori.setHorizontalAlignment(SwingConstants.CENTER);
    cLabelUrunSecilenKategori.setBounds(10, 365, 128, 20);
    cPanelUrunKategoriGuncelleme.add(cLabelUrunSecilenKategori);

    cTextFieldUrunKategori = new CTextField(20);
    cTextFieldUrunKategori.setBounds(144, 365, 176, 20);
    cPanelUrunKategoriGuncelleme.add(cTextFieldUrunKategori);

    JButtonEkle = new JButton();
    JButtonEkle.setIcon(PSAUtil
View Full Code Here

    cLabelUrunAlisFiyat = new JLabel();
    cLabelUrunAlisFiyat.setBounds(10, 41, 120, 20);
    cLabelUrunAlisFiyat.setText("Al\u0131\u015F Fiyat\u0131");
    cLabelUrunAlisFiyat.setFont(new Font("Tahoma", Font.BOLD, 14));

    cTextFieldUrunAlisTamKisim = new CTextField(7);
    cTextFieldUrunAlisTamKisim.setAsOnlyNumberTextField();
    cTextFieldUrunAlisTamKisim.setHorizontalAlignment(SwingConstants.RIGHT);
    cTextFieldUrunAlisTamKisim.setText("0");
    cTextFieldUrunAlisTamKisim.setBounds(150, 42, 86, 20);

    cTextFieldUrunAlisKurusKisim = new CTextField(2);
    cTextFieldUrunAlisKurusKisim.setAsOnlyNumberTextField();
    cTextFieldUrunAlisKurusKisim.setText("00");
    cTextFieldUrunAlisKurusKisim.setBounds(246, 42, 33, 20);

    cLabelAlisTL = new JLabel();
    cLabelAlisTL.setBounds(281, 49, 23, 14);
    cLabelAlisTL.setText("TL");

    cLabelAlisVirgul = new JLabel();
    cLabelAlisVirgul.setBounds(239, 42, 9, 29);
    cLabelAlisVirgul.setText(",");

    cLabelUrunPesinSatisFiyat = new JLabel();
    cLabelUrunPesinSatisFiyat.setBounds(10, 71, 136, 20);
    cLabelUrunPesinSatisFiyat
        .setText("Pe\u015Fin Sat\u0131\u015F Fiyat\u0131");
    cLabelUrunPesinSatisFiyat.setFont(new Font("Tahoma", Font.BOLD, 14));

    cTextFieldUrunPesinSatisFiyatTamKisim = new CTextField(7);
    cTextFieldUrunPesinSatisFiyatTamKisim.setAsOnlyNumberTextField();
    cTextFieldUrunPesinSatisFiyatTamKisim
        .setHorizontalAlignment(SwingConstants.RIGHT);
    cTextFieldUrunPesinSatisFiyatTamKisim.setText("0");
    cTextFieldUrunPesinSatisFiyatTamKisim.setBounds(150, 73, 86, 20);

    cLabelPesinSatisVirgul = new JLabel();
    cLabelPesinSatisVirgul.setBounds(239, 73, 9, 29);
    cLabelPesinSatisVirgul.setText(",");

    cTextFieldUrunPesinSatisFiyatKurusKisim = new CTextField(2);
    cTextFieldUrunPesinSatisFiyatKurusKisim.setAsOnlyNumberTextField();
    cTextFieldUrunPesinSatisFiyatKurusKisim.setText("00");
    cTextFieldUrunPesinSatisFiyatKurusKisim.setBounds(246, 73, 33, 20);

    cLabelPesinSatisTL = new JLabel();
    cLabelPesinSatisTL.setBounds(281, 80, 46, 14);
    cLabelPesinSatisTL.setText("TL");

    cLabelTakistliSatisFiyat = new JLabel();
    cLabelTakistliSatisFiyat.setBounds(10, 101, 136, 20);
    cLabelTakistliSatisFiyat
        .setText("Taksitli Sat\u0131\u015F Fiyat\u0131");
    cLabelTakistliSatisFiyat.setFont(new Font("Tahoma", Font.BOLD, 14));

    cTextFieldUrunTaksitliSatisFiyatTamKisim = new CTextField(7);
    cTextFieldUrunTaksitliSatisFiyatTamKisim.setAsOnlyNumberTextField();
    cTextFieldUrunTaksitliSatisFiyatTamKisim
        .setHorizontalAlignment(SwingConstants.RIGHT);
    cTextFieldUrunTaksitliSatisFiyatTamKisim.setText("0");
    cTextFieldUrunTaksitliSatisFiyatTamKisim.setBounds(150, 102, 86, 20);

    cLabelTaksitliSatisVirgul = new JLabel();
    cLabelTaksitliSatisVirgul.setBounds(239, 108, 9, 20);
    cLabelTaksitliSatisVirgul.setText(",");

    cTextFieldUrunTaksitliSatisFiyatKurusKisim = new CTextField(2);
    cTextFieldUrunTaksitliSatisFiyatKurusKisim.setAsOnlyNumberTextField();
    cTextFieldUrunTaksitliSatisFiyatKurusKisim.setText("00");
    cTextFieldUrunTaksitliSatisFiyatKurusKisim.setBounds(246, 102, 33, 20);

    cLabelTaksitliSatisTL = new JLabel();
    cLabelTaksitliSatisTL.setBounds(281, 109, 46, 14);
    cLabelTaksitliSatisTL.setText("TL");

    cLabelUrunEklendigiTarih = new JLabel();
    cLabelUrunEklendigiTarih.setBounds(10, 131, 120, 20);
    cLabelUrunEklendigiTarih.setText("Eklendi\u011Fi Tarih");
    cLabelUrunEklendigiTarih.setFont(new Font("Tahoma", Font.BOLD, 14));

    cLabelUrunFirma = new JLabel();
    cLabelUrunFirma.setBounds(10, 11, 120, 20);
    cLabelUrunFirma.setText("Firma Se\u00E7iniz");
    cLabelUrunFirma.setFont(new Font("Tahoma", Font.BOLD, 14));

    cComboBoxUrunFirma = new CComboBox<Firma>(Firma.class);
    cComboBoxUrunFirma.setBounds(150, 11, 205, 20);

    JButtonFirmaBilgiGuncelle = new JButton();
    JButtonFirmaBilgiGuncelle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/add.png"));
    JButtonFirmaBilgiGuncelle.setBounds(357, 11, 23, 20);

    jDateChooserUrunTarih = new JDateChooser();
    jDateChooserUrunTarih.setBounds(150, 131, 230, 20);
    ((JTextFieldDateEditor) jDateChooserUrunTarih.getDateEditor())
        .setEditable(false);

    cPanelUrunBilgileri = new JPanel();
    cPanelUrunBilgileri.setBorder(new LineBorder(new Color(0, 0, 0), 2));
    cPanelUrunBilgileri.setBackground(UIManager.getColor("Button.shadow"));
    cPanelUrunBilgileri.setBounds(38, 138, 380, 227);

    cLabelUrunSezon = new JLabel();
    cLabelUrunSezon.setText("Sezonu");
    cLabelUrunSezon.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelUrunSezon.setBounds(10, 11, 120, 20);

    cComboBoxUrunSezon = new CComboBox<UrunSezon>(UrunSezon.class);
    cComboBoxUrunSezon.setBounds(130, 11, 205, 20);

    cComboBoxUrunGrup = new CComboBox<UrunGrup>(UrunGrup.class);
    cComboBoxUrunGrup.setBounds(130, 41, 205, 20);

    cLabelUrunGrup = new JLabel();
    cLabelUrunGrup.setText("Grubu");
    cLabelUrunGrup.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelUrunGrup.setBounds(10, 41, 120, 20);

    cLabelUrunModel = new JLabel();
    cLabelUrunModel.setText("Modeli");
    cLabelUrunModel.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelUrunModel.setBounds(10, 71, 120, 20);

    cComboBoxUrunModel = new CComboBox<UrunModel>(UrunModel.class);
    cComboBoxUrunModel.setBounds(130, 71, 205, 20);

    cLabelUrunBeden = new JLabel();
    cLabelUrunBeden.setText("Bedeni");
    cLabelUrunBeden.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelUrunBeden.setBounds(10, 101, 120, 20);

    cComboBoxUrunBeden = new CComboBox<UrunBeden>(UrunBeden.class);
    cComboBoxUrunBeden.setBounds(130, 101, 205, 20);

    cLabelUrunRenk = new JLabel();
    cLabelUrunRenk.setText("Rengi");
    cLabelUrunRenk.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelUrunRenk.setBounds(10, 131, 120, 20);

    cTextFieldUrunRenk = new CTextField(30);
    cTextFieldUrunRenk.setEditable(false);
    cTextFieldUrunRenk.setForeground(Color.BLACK);
    cTextFieldUrunRenk.setBackground(Color.WHITE);
    cTextFieldUrunRenk.setText("RENK YOK");
    cTextFieldUrunRenk.setHorizontalAlignment(SwingConstants.CENTER);
    cTextFieldUrunRenk.setBounds(130, 132, 205, 20);

    cComboBoxUrunCinsiyet = new CComboBox<UrunCinsiyet>(UrunCinsiyet.class);
    cComboBoxUrunCinsiyet.setBounds(130, 163, 205, 20);

    cLabelUrunCinsiyet = new JLabel();
    cLabelUrunCinsiyet.setText("Cinsiyeti");
    cLabelUrunCinsiyet.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelUrunCinsiyet.setBounds(10, 161, 120, 20);

    cLabelUrunMarka = new JLabel();
    cLabelUrunMarka.setText("Markas\u0131");
    cLabelUrunMarka.setFont(new Font("Tahoma", Font.BOLD, 14));
    cLabelUrunMarka.setBounds(10, 191, 120, 20);

    cComboBoxUrunMarka = new CComboBox<UrunMarka>(UrunMarka.class);
    cComboBoxUrunMarka.setBounds(130, 191, 205, 20);

    JButtonUrunSezonGuncelle = new JButton();
    JButtonUrunSezonGuncelle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/add.png"));
    JButtonUrunSezonGuncelle.setBounds(336, 11, 23, 20);

    JButtonUrunGrupGuncelle = new JButton();
    JButtonUrunGrupGuncelle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/add.png"));
    JButtonUrunGrupGuncelle.setBounds(336, 41, 23, 20);

    JButtonUrunCinsGuncelle = new JButton();
    JButtonUrunCinsGuncelle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/add.png"));
    JButtonUrunCinsGuncelle.setBounds(336, 71, 23, 20);

    JButtonUrunBedenGuncelle = new JButton();
    JButtonUrunBedenGuncelle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/add.png"));
    JButtonUrunBedenGuncelle.setBounds(336, 101, 23, 20);

    JButtonUrunMarkaGuncelle = new JButton();
    JButtonUrunMarkaGuncelle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/add.png"));
    JButtonUrunMarkaGuncelle.setBounds(336, 191, 23, 20);

    SpinnerModel spinnerModel = new SpinnerNumberModel(0, 0, 1000000, 1);

    cLabelUrunBilgileri = new JLabel();
    cLabelUrunBilgileri.setHorizontalAlignment(SwingConstants.CENTER);
    cLabelUrunBilgileri.setText("\u00DCR\u00DCN B\u0130LG\u0130LER\u0130");
    cLabelUrunBilgileri.setFont(new Font("Tahoma", Font.BOLD, 16));
    cLabelUrunBilgileri.setBounds(38, 119, 380, 20);

    JButtonListeEkle = new JButton();
    JButtonListeEkle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/ekle.png"));
    JButtonListeEkle.setFont(new Font("Tahoma", Font.BOLD, 13));
    JButtonListeEkle.setText("\u00DCR\u00DCN L\u0130STES\u0130NE EKLE");
    JButtonListeEkle.setBounds(314, 376, 243, 38);

    cLabelUrunOK = new JLabel();
    cLabelUrunOK.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/asagiOK.png"));
    cLabelUrunOK.setBounds(158, 376, 32, 38);

    cLabelFirmaOK = new JLabel();
    cLabelFirmaOK.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/asagiOK.png"));
    cLabelFirmaOK.setBounds(681, 376, 32, 38);

    cTablePanelUrunListesi = new TablePanel(null, UrunListesi.class, true,
        true);
    cTablePanelUrunListesi.getTable().setAutoResizeMode(
        JTable.AUTO_RESIZE_ALL_COLUMNS);
    cTablePanelUrunListesi.setBorder(new LineBorder(new Color(0, 0, 0), 2));
    cTablePanelUrunListesi.setBounds(38, 425, 804, 218);

    JButtonKaydet = new JButton();
    JButtonKaydet.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/kullaniciGuncelle.png"));
    JButtonKaydet.setFont(new Font("Tahoma", Font.BOLD, 13));
    JButtonKaydet.setText("STOK KAYIT");
    JButtonKaydet.setBounds(599, 654, 243, 38);

    JButtonSil = new JButton();
    JButtonSil.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/silIcon.png"));
    JButtonSil.setText("S\u0130L");
    JButtonSil.setFont(new Font("Tahoma", Font.BOLD, 13));
    JButtonSil.setBounds(320, 654, 243, 38);
    JButtonSil.setEnabled(false);

    JButtonIptal = new JButton();
    JButtonIptal.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/geriButonu.png"));
    JButtonIptal.setFont(new Font("Tahoma", Font.BOLD, 13));
    JButtonIptal.setText("\u0130PTAL");
    JButtonIptal.setBounds(38, 654, 243, 38);

    cLabelUrunKDV = new JLabel();
    cLabelUrunKDV.setVerticalAlignment(SwingConstants.BOTTOM);
    cLabelUrunKDV.setText("KDV(%)");
    cLabelUrunKDV.setFont(new Font("Tahoma", Font.BOLD, 11));
    cLabelUrunKDV.setBounds(300, 41, 46, 20);

    SpinnerModel spinnerModelKDV = new SpinnerNumberModel(0, 0, 99, 1);
    cSpinnerKDVOrani = new JSpinner();
    cSpinnerKDVOrani.setModel(spinnerModelKDV);
    cSpinnerKDVOrani.setValue(new Integer(8));
    cSpinnerKDVOrani.setBounds(347, 42, 33, 20);

    JButtonUrunCinsiyetGuncelle = new JButton();
    JButtonUrunCinsiyetGuncelle.setIcon(PSAUtil
        .getImageIconViaRelativePath("picture/add.png"));
    JButtonUrunCinsiyetGuncelle.setBounds(336, 163, 23, 20);

    // Panel Firma Satis add metotlar�

    cPanelFirmaSatis.setLayout(null);
    cPanelFirmaSatis.add(cLabelUrunFirma);
    cPanelFirmaSatis.add(cComboBoxUrunFirma);
    cPanelFirmaSatis.add(cLabelUrunAlisFiyat);
    cPanelFirmaSatis.add(cTextFieldUrunAlisTamKisim);
    cPanelFirmaSatis.add(cTextFieldUrunPesinSatisFiyatTamKisim);
    cPanelFirmaSatis.add(cLabelUrunPesinSatisFiyat);
    cPanelFirmaSatis.add(cLabelTakistliSatisFiyat);
    cPanelFirmaSatis.add(cTextFieldUrunTaksitliSatisFiyatTamKisim);
    cPanelFirmaSatis.add(cTextFieldUrunAlisKurusKisim);
    cPanelFirmaSatis.add(cLabelAlisVirgul);
    cPanelFirmaSatis.add(cTextFieldUrunTaksitliSatisFiyatKurusKisim);
    cPanelFirmaSatis.add(cTextFieldUrunPesinSatisFiyatKurusKisim);
    cPanelFirmaSatis.add(cLabelTaksitliSatisVirgul);
    cPanelFirmaSatis.add(cLabelPesinSatisVirgul);
    cPanelFirmaSatis.add(cLabelAlisTL);
    cPanelFirmaSatis.add(cLabelPesinSatisTL);
    cPanelFirmaSatis.add(cLabelTaksitliSatisTL);
    cPanelFirmaSatis.add(cLabelUrunEklendigiTarih);
    cPanelFirmaSatis.add(JButtonFirmaBilgiGuncelle);
    cPanelFirmaSatis.add(jDateChooserUrunTarih);
    cPanelFirmaSatis.add(cSpinnerKDVOrani);
    cPanelFirmaSatis.add(cLabelUrunKDV);

    cPanelUrunBilgileri.setLayout(null);
    cPanelUrunBilgileri.add(JButtonUrunMarkaGuncelle);
    cPanelUrunBilgileri.add(JButtonUrunBedenGuncelle);
    cPanelUrunBilgileri.add(JButtonUrunCinsGuncelle);
    cPanelUrunBilgileri.add(JButtonUrunGrupGuncelle);
    cPanelUrunBilgileri.add(JButtonUrunSezonGuncelle);
    cPanelUrunBilgileri.add(cComboBoxUrunMarka);
    cPanelUrunBilgileri.add(cLabelUrunMarka);
    cPanelUrunBilgileri.add(cLabelUrunCinsiyet);
    cPanelUrunBilgileri.add(cComboBoxUrunCinsiyet);
    cPanelUrunBilgileri.add(cTextFieldUrunRenk);
    cPanelUrunBilgileri.add(cLabelUrunRenk);
    cPanelUrunBilgileri.add(cComboBoxUrunBeden);
    cPanelUrunBilgileri.add(cLabelUrunBeden);
    cPanelUrunBilgileri.add(cLabelUrunGrup);
    cPanelUrunBilgileri.add(cComboBoxUrunModel);
    cPanelUrunBilgileri.add(cLabelUrunModel);
    cPanelUrunBilgileri.add(cLabelUrunSezon);
    cPanelUrunBilgileri.add(cComboBoxUrunGrup);
    cPanelUrunBilgileri.add(cComboBoxUrunSezon);
    cPanelUrunBilgileri.add(JButtonUrunCinsiyetGuncelle);

    getContentPane().add(cPanelUrunBilgileri);
    getContentPane().setLayout(null);
    getContentPane().add(cLabelFirmaBilgileri);
    getContentPane().add(cPanelFirmaSatis);
    cSpinnerUrun = new JSpinner();
    cSpinnerUrun.setBounds(150, 162, 90, 20);
    cPanelFirmaSatis.add(cSpinnerUrun);
    cSpinnerUrun.setModel(spinnerModel);

    cLabelUrunAdet = new JLabel();
    cLabelUrunAdet.setBounds(10, 160, 120, 20);
    cPanelFirmaSatis.add(cLabelUrunAdet);
    cLabelUrunAdet.setText("Adet");
    cLabelUrunAdet.setFont(new Font("Tahoma", Font.BOLD, 14));
    getContentPane().add(JButtonIptal);
    getContentPane().add(JButtonSil);
    getContentPane().add(JButtonKaydet);
    getContentPane().add(cTablePanelUrunListesi);
    getContentPane().add(cLabelFirmaOK);
    getContentPane().add(cLabelUrunOK);
    getContentPane().add(JButtonListeEkle);
    getContentPane().add(cLabelUrunBilgileri);

    jPanelBarkod = new JPanel();
    jPanelBarkod.setBorder(new LineBorder(new Color(0, 0, 0), 2));
    jPanelBarkod.setBackground(UIManager.getColor("Button.shadow"));
    jPanelBarkod.setBounds(38, 43, 380, 65);
    getContentPane().add(jPanelBarkod);
    jPanelBarkod.setLayout(null);

    jLabelBarkodBilgi = new JLabel();
    jLabelBarkodBilgi.setText("Barkod No");
    jLabelBarkodBilgi.setFont(new Font("Tahoma", Font.BOLD, 14));
    jLabelBarkodBilgi.setBounds(10, 22, 111, 20);
    jPanelBarkod.add(jLabelBarkodBilgi);

    cTextFieldBarkodNo = new CTextField();
    cTextFieldBarkodNo.setHorizontalAlignment(SwingConstants.CENTER);
    cTextFieldBarkodNo.setBounds(131, 22, 140, 20);
    jPanelBarkod.add(cTextFieldBarkodNo);

    jLabelBarkodControl = new JLabel("");
View Full Code Here

TOP

Related Classes of hibernateSwingApi.component.CTextField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.