├── README.md
├── bkirmizi.png
├── bmavi.png
├── byesil.png
├── crud
├── baslat.java
├── form1.form
├── form1.java
└── veritabani.java
├── db_islemler
├── db_islemler.iml
├── out
│ └── production
│ │ └── db_islemler
│ │ ├── baslat$1.class
│ │ ├── baslat.class
│ │ ├── com
│ │ └── intellij
│ │ │ └── uiDesigner
│ │ │ └── core
│ │ │ ├── AbstractLayout.class
│ │ │ ├── DimensionInfo.class
│ │ │ ├── GridConstraints.class
│ │ │ ├── GridLayoutManager.class
│ │ │ ├── HorizontalInfo.class
│ │ │ ├── LayoutState.class
│ │ │ ├── Spacer.class
│ │ │ ├── SupportCode$TextWithMnemonic.class
│ │ │ ├── SupportCode.class
│ │ │ ├── Util.class
│ │ │ └── VerticalInfo.class
│ │ ├── form1$1.class
│ │ ├── form1.class
│ │ └── veritabani.class
├── pgjar
│ └── postgresql-42.6.0.jar
└── src
│ ├── baslat.java
│ ├── form1.form
│ ├── form1.java
│ └── veritabani.java
├── hafta01
├── baslat.java
├── form1.form
└── form1.java
├── hafta02
├── baslat.java
├── form1.form
└── form1.java
├── hafta03
├── baslat.java
├── form1.form
├── form1.java
├── form2.form
├── form2.java
├── form3.form
├── form3.java
├── form4.form
└── form4.java
├── hafta04
├── baslat.java
├── form1.form
├── form1.java
├── form2.form
├── form2.java
├── form3.form
└── form3.java
├── hafta05
├── baslat.java
├── form1.form
├── form1.java
├── form2.form
├── form2.java
├── form3.form
└── form3.java
├── hafta06
├── Matris.java
├── baslat.java
├── form1.form
├── form1.java
├── form2.form
├── form2.java
├── form3.form
└── form3.java
├── hafta07
├── baslat.java
├── form1.form
├── form1.java
├── form2.form
├── form2.java
├── form3.form
└── form3.java
├── hafta08
├── baslat.java
├── form1.form
├── form1.java
└── veritabani.java
├── hafta09
├── baslat.java
├── form1.form
└── form1.java
├── hafta10
├── baslat.java
├── form1.form
├── form1.java
└── veritabani.java
├── icon1.png
├── icon2.png
├── io_hesap_makinesi
├── io_hesap_makinesi.sln
└── io_hesap_makinesi
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ ├── bin
│ └── Debug
│ │ └── net6.0-windows
│ │ ├── io_hesap_makinesi.deps.json
│ │ ├── io_hesap_makinesi.dll
│ │ ├── io_hesap_makinesi.exe
│ │ ├── io_hesap_makinesi.pdb
│ │ ├── io_hesap_makinesi.runtimeconfig.json
│ │ └── ref
│ │ └── io_hesap_makinesi.dll
│ ├── io_hesap_makinesi.csproj
│ ├── io_hesap_makinesi.csproj.user
│ └── obj
│ ├── Debug
│ └── net6.0-windows
│ │ ├── apphost.exe
│ │ ├── io_hesap_makinesi.AssemblyInfo.cs
│ │ ├── io_hesap_makinesi.AssemblyInfoInputs.cache
│ │ ├── io_hesap_makinesi.Form1.resources
│ │ ├── io_hesap_makinesi.GeneratedMSBuildEditorConfig.editorconfig
│ │ ├── io_hesap_makinesi.GlobalUsings.g.cs
│ │ ├── io_hesap_makinesi.assets.cache
│ │ ├── io_hesap_makinesi.csproj.AssemblyReference.cache
│ │ ├── io_hesap_makinesi.csproj.CoreCompileInputs.cache
│ │ ├── io_hesap_makinesi.csproj.FileListAbsolute.txt
│ │ ├── io_hesap_makinesi.csproj.GenerateResource.cache
│ │ ├── io_hesap_makinesi.designer.deps.json
│ │ ├── io_hesap_makinesi.designer.runtimeconfig.json
│ │ ├── io_hesap_makinesi.dll
│ │ ├── io_hesap_makinesi.genruntimeconfig.cache
│ │ ├── io_hesap_makinesi.pdb
│ │ └── ref
│ │ └── io_hesap_makinesi.dll
│ ├── io_hesap_makinesi.csproj.nuget.dgspec.json
│ ├── io_hesap_makinesi.csproj.nuget.g.props
│ ├── io_hesap_makinesi.csproj.nuget.g.targets
│ ├── project.assets.json
│ └── project.nuget.cache
└── javaFX
├── no_javafx_giris
├── mvnw
├── mvnw.cmd
├── no_javafx_giris.iml
├── pom.xml
├── src
│ └── main
│ │ ├── java
│ │ ├── com
│ │ │ └── example
│ │ │ │ └── no_javafx_giris
│ │ │ │ ├── HelloApplication.java
│ │ │ │ ├── HelloController.java
│ │ │ │ └── NewviewController.java
│ │ └── module-info.java
│ │ └── resources
│ │ └── com
│ │ └── example
│ │ └── no_javafx_giris
│ │ ├── hello-view.fxml
│ │ └── newview.fxml
└── target
│ └── classes
│ ├── com
│ └── example
│ │ └── no_javafx_giris
│ │ ├── HelloApplication.class
│ │ ├── HelloController.class
│ │ ├── NewviewController.class
│ │ ├── hello-view.fxml
│ │ └── newview.fxml
│ └── module-info.class
└── no_sayitahmin
├── mvnw
├── mvnw.cmd
├── no_sayitahmin.iml
├── pom.xml
├── src
└── main
│ ├── java
│ ├── com
│ │ └── example
│ │ │ └── no_sayitahmin
│ │ │ ├── HelloApplication.java
│ │ │ └── HelloController.java
│ └── module-info.java
│ └── resources
│ └── com
│ └── example
│ └── no_sayitahmin
│ └── hello-view.fxml
└── target
└── classes
├── com
└── example
│ └── no_sayitahmin
│ ├── HelloApplication.class
│ ├── HelloController.class
│ └── hello-view.fxml
└── module-info.class
/README.md:
--------------------------------------------------------------------------------
1 | # visual_programming_spring_2023
--------------------------------------------------------------------------------
/bkirmizi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/bkirmizi.png
--------------------------------------------------------------------------------
/bmavi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/bmavi.png
--------------------------------------------------------------------------------
/byesil.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/byesil.png
--------------------------------------------------------------------------------
/crud/baslat.java:
--------------------------------------------------------------------------------
1 | package crud;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 | form1 f1 = new form1();
11 | f1.setVisible(true);
12 | }
13 | });
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/crud/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
88 |
--------------------------------------------------------------------------------
/crud/form1.java:
--------------------------------------------------------------------------------
1 | package crud;
2 |
3 | import javax.swing.*;
4 | import javax.swing.table.DefaultTableModel;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import java.awt.event.MouseAdapter;
8 | import java.awt.event.MouseEvent;
9 | import java.sql.ResultSet;
10 | import java.sql.SQLException;
11 |
12 | public class form1 extends JFrame {
13 | private JPanel panel;
14 | private JTable table1;
15 | private JTextField textField1;
16 | private JTextField textField2;
17 | private JTextField textField3;
18 | private JTextField textField4;
19 | private JButton button1;
20 | private JButton button2;
21 | private JButton button3;
22 | DefaultTableModel modelim = new DefaultTableModel();
23 | Object[] kolonlar = {"Numara","Ad","Soyad","Tel"};
24 | Object[] satirlar = new Object[4];
25 |
26 | form1(){
27 | add(panel);
28 | setTitle("CRUD");
29 | setSize(600,400);
30 | veritabani.baglan();
31 | String sorgu = "select * from ogrenci";
32 |
33 | ResultSet rs = veritabani.listele(sorgu);
34 |
35 | modelim.setColumnCount(0);
36 | modelim.setRowCount(0);
37 | modelim.setColumnIdentifiers(kolonlar);
38 |
39 | try {
40 | while(rs.next()){
41 | satirlar[0]=rs.getString("ogrencino");
42 | satirlar[1]=rs.getString("ad");
43 | satirlar[2]=rs.getString("soyad");
44 | satirlar[3]=rs.getString("tel");
45 | modelim.addRow(satirlar);
46 | }
47 | table1.setModel(modelim);
48 | } catch(SQLException e2){
49 | e2.printStackTrace();
50 | }
51 |
52 | table1.addMouseListener(new MouseAdapter() {
53 | @Override
54 | public void mouseClicked(MouseEvent e) {
55 | super.mouseClicked(e);
56 | int s = table1.getSelectedRow();
57 |
58 | textField1.setText(table1.getValueAt(s,0).toString());
59 | textField2.setText(table1.getValueAt(s,1).toString());
60 | textField3.setText(table1.getValueAt(s,2).toString());
61 | textField4.setText(table1.getValueAt(s,3).toString());
62 |
63 | }
64 | });
65 | button1.addActionListener(new ActionListener() {
66 | @Override
67 | public void actionPerformed(ActionEvent e) {
68 | String sorgu = "insert into ogrenci(ogrencino,ad,soyad,tel)"
69 | + "values('"+textField1.getText()+"','"+textField2.getText()+"','"+textField3.getText()+"','"
70 | + textField4.getText()+"')";
71 | veritabani.ekle(sorgu);
72 | }
73 | });
74 | button2.addActionListener(new ActionListener() {
75 | @Override
76 | public void actionPerformed(ActionEvent e) {
77 | String sorgu = "update ogrenci " +
78 | "set ogrencino='"+textField1.getText()+"' , ad='"+textField2.getText()+"' , soyad='"+textField3.getText()+"', tel='"+textField4.getText()+"' " +
79 | "where ogrencino='"+textField1.getText()+"'";
80 | veritabani.guncelle(sorgu);
81 |
82 | }
83 | });
84 | button3.addActionListener(new ActionListener() {
85 | @Override
86 | public void actionPerformed(ActionEvent e) {
87 | String sorgu = "delete from ogrenci where ogrencino='"+textField1.getText()+"'";
88 | veritabani.sil(sorgu);
89 |
90 | }
91 | });
92 | }
93 | }
94 |
--------------------------------------------------------------------------------
/crud/veritabani.java:
--------------------------------------------------------------------------------
1 | package crud;
2 |
3 | import java.sql.*;
4 |
5 | public class veritabani {
6 | static String url = "jdbc:postgresql://localhost:5432/normalogretim";
7 | static Connection conn=null;
8 |
9 | static void baglan(){
10 | try {
11 | conn = DriverManager.getConnection(url,"postgres","1234");
12 | System.out.println("Bağlantı başarılı");
13 | } catch (SQLException e) {
14 | throw new RuntimeException(e);
15 | }
16 | }
17 |
18 | static ResultSet listele(String sorgu){
19 | Statement st;
20 | try {
21 | st = conn.createStatement();
22 | ResultSet rs = st.executeQuery(sorgu);
23 | return rs;
24 | } catch (SQLException e) {
25 | throw new RuntimeException(e);
26 | }
27 | }
28 |
29 | static void guncelle(String sorgu) {
30 | Statement st;
31 | try {
32 | st = conn.createStatement();
33 | st.executeUpdate(sorgu);
34 | } catch (SQLException e) {
35 | // TODO Auto-generated catch block
36 | e.printStackTrace();
37 | }
38 |
39 | }
40 |
41 | static void sil(String sorgu) {
42 | Statement st;
43 | try {
44 | st = conn.createStatement();
45 | st.execute(sorgu);
46 | } catch (SQLException e) {
47 | // TODO Auto-generated catch block
48 | e.printStackTrace();
49 | }
50 |
51 | }
52 |
53 |
54 | static void ekle(String sorgu) {
55 | Statement st;
56 | try {
57 | st = conn.createStatement();
58 | st.executeUpdate(sorgu);
59 | } catch (SQLException e) {
60 | // TODO Auto-generated catch block
61 | e.printStackTrace();
62 | }
63 |
64 | }
65 |
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/db_islemler/db_islemler.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/baslat$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/baslat$1.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/baslat.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/baslat.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/AbstractLayout.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/AbstractLayout.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/DimensionInfo.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/DimensionInfo.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/GridConstraints.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/GridConstraints.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/GridLayoutManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/GridLayoutManager.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/HorizontalInfo.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/HorizontalInfo.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/LayoutState.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/LayoutState.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/Spacer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/Spacer.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/SupportCode.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/SupportCode.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/Util.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/Util.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/VerticalInfo.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/com/intellij/uiDesigner/core/VerticalInfo.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/form1$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/form1$1.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/form1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/form1.class
--------------------------------------------------------------------------------
/db_islemler/out/production/db_islemler/veritabani.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/out/production/db_islemler/veritabani.class
--------------------------------------------------------------------------------
/db_islemler/pgjar/postgresql-42.6.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/db_islemler/pgjar/postgresql-42.6.0.jar
--------------------------------------------------------------------------------
/db_islemler/src/baslat.java:
--------------------------------------------------------------------------------
1 | import javax.swing.*;
2 |
3 | public class baslat {
4 | public static void main(String[] args) {
5 | SwingUtilities.invokeLater(new Runnable() {
6 | @Override
7 | public void run() {
8 | form1 f1 = new form1();
9 | f1.setVisible(true);
10 | }
11 | });
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/db_islemler/src/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
46 |
--------------------------------------------------------------------------------
/db_islemler/src/form1.java:
--------------------------------------------------------------------------------
1 | import javax.swing.*;
2 | import javax.swing.table.DefaultTableModel;
3 | import java.awt.event.ActionEvent;
4 | import java.awt.event.ActionListener;
5 | import java.sql.ResultSet;
6 | import java.sql.SQLException;
7 |
8 | public class form1 extends JFrame {
9 | private JPanel panel;
10 | private JTable table1;
11 | private JComboBox comboBox1;
12 | private JButton button1;
13 | DefaultTableModel modelim = new DefaultTableModel();
14 | Object[] kolonlar = {"No","Ad","Soyad","Telefon"};
15 | Object[] satirlar = new Object[4];
16 | DefaultComboBoxModel comboBoxModel = new DefaultComboBoxModel();
17 |
18 | form1(){
19 | add(panel);
20 | setSize(400,600);
21 | setTitle("Veritabanı İşlemleri");
22 | veritabani.baglan();
23 | String sorgu = "select * from ogrenci";
24 | ResultSet rs = veritabani.listele(sorgu);
25 |
26 | modelim.setColumnCount(0);
27 | modelim.setRowCount(0);
28 | modelim.setColumnIdentifiers(kolonlar);
29 |
30 | try {
31 | while(rs.next()) {
32 | satirlar[0]=rs.getInt("ogrencino");
33 | satirlar[1]=rs.getString("ad");
34 | satirlar[2]=rs.getString("soyad");
35 | satirlar[3]=rs.getString("tel");
36 | comboBoxModel.addElement(satirlar[0]);
37 | modelim.addRow(satirlar);
38 | }
39 | table1.setModel(modelim);
40 | comboBox1.setModel(comboBoxModel);
41 | } catch (SQLException e1) {
42 | // TODO Auto-generated catch block
43 | e1.printStackTrace();
44 | }
45 |
46 | button1.addActionListener(new ActionListener() {
47 | @Override
48 | public void actionPerformed(ActionEvent e) {
49 | String s = comboBox1.getSelectedItem().toString();
50 | String sorgu = "Select * from ogrenci where ogrencino='"+s+"'";
51 | ResultSet rs = veritabani.listele(sorgu);
52 |
53 | modelim.setColumnCount(0);
54 | modelim.setRowCount(0);
55 | modelim.setColumnIdentifiers(kolonlar);
56 |
57 | try {
58 | while(rs.next()) {
59 | satirlar[0]=rs.getInt("ogrencino");
60 | satirlar[1]=rs.getString("ad");
61 | satirlar[2]=rs.getString("soyad");
62 | satirlar[3]=rs.getString("tel");
63 |
64 | modelim.addRow(satirlar);
65 | }
66 | table1.setModel(modelim);
67 |
68 |
69 | } catch (SQLException e1) {
70 | // TODO Auto-generated catch block
71 | e1.printStackTrace();
72 | }
73 | }
74 | });
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/db_islemler/src/veritabani.java:
--------------------------------------------------------------------------------
1 | import java.sql.*;
2 |
3 | public class veritabani {
4 | static String url = "jdbc:postgresql://localhost:5432/normalogretim"; //127.0.0.1
5 | //uzaktaki bir servere bağlanırken o makinenin ip adresini yazabilirsiniz 74.68.124.23
6 | static Connection conn=null;
7 |
8 | static void baglan(){
9 | try {
10 | conn = DriverManager.getConnection(url,"postgres","1234");
11 | System.out.print("Veritabanına bağlantı başarılı!");
12 | } catch (SQLException e) {
13 | // TODO Auto-generated catch block
14 | e.printStackTrace();
15 | System.out.println("Veritabanına bağlanılamadı!");
16 | }
17 | }
18 |
19 | static ResultSet listele(String sorgu){
20 | Statement st;
21 | try {
22 | st = conn.createStatement();
23 | ResultSet rs = st.executeQuery(sorgu);
24 | return rs;
25 | } catch (SQLException e) {
26 | // TODO Auto-generated catch block
27 | e.printStackTrace();
28 | return null;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/hafta01/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta01;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 | form1 f1 = new form1();
11 | f1.setVisible(true);
12 | }
13 | });
14 |
15 |
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/hafta01/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
45 |
--------------------------------------------------------------------------------
/hafta01/form1.java:
--------------------------------------------------------------------------------
1 | package hafta01;
2 |
3 | import javax.swing.*;
4 | import java.awt.event.ActionEvent;
5 | import java.awt.event.ActionListener;
6 | import java.util.Random;
7 |
8 | public class form1 extends JFrame {
9 | private JPanel panel;
10 | private JButton btn1;
11 |
12 | form1(){
13 | add(panel);
14 | setTitle("İlk form uygulamamız");
15 | setSize(600,400);
16 | Random r = new Random();
17 |
18 | btn1.addActionListener(new ActionListener() {
19 | @Override
20 | public void actionPerformed(ActionEvent e) {
21 | //btn1.setText("ONAY");
22 | int sayi = r.nextInt(100);
23 | btn1.setText(Integer.toString(sayi));
24 | }
25 | });
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/hafta02/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta02;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 |
7 | public static void main(String[] args) {
8 | SwingUtilities.invokeLater(new Runnable() {
9 | @Override
10 | public void run() {
11 | form1 f1 = new form1();
12 | f1.setVisible(true);
13 | }
14 | });
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/hafta02/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
61 |
--------------------------------------------------------------------------------
/hafta02/form1.java:
--------------------------------------------------------------------------------
1 | package hafta02;
2 |
3 | import javax.swing.*;
4 | import java.awt.*;
5 | import java.awt.event.MouseAdapter;
6 | import java.awt.event.MouseEvent;
7 |
8 |
9 | public class form1 extends JFrame {
10 |
11 | private JPanel panel;
12 | private JButton button1;
13 | private JLabel lbl1;
14 | private JButton button2;
15 |
16 | form1(){
17 | add(panel);
18 | setTitle("Resimli Button");
19 | setSize(600,400);
20 |
21 | lbl1.setSize(200,90);
22 | lbl1.setOpaque(true);
23 | Image kirmizi = new ImageIcon(this.getClass().getResource("/bkirmizi.png")).getImage();
24 | lbl1.setIcon(new ImageIcon(kirmizi));
25 | Image mavi = new ImageIcon(this.getClass().getResource("/bmavi.png")).getImage();
26 | Image yesil = new ImageIcon(this.getClass().getResource("/byesil.png")).getImage();
27 | Image icon2 = new ImageIcon(this.getClass().getResource("/icon2.png")).getImage();
28 | button2.setIcon(new ImageIcon(icon2));
29 |
30 | button1.addMouseListener(new MouseAdapter() {
31 | @Override
32 | public void mouseEntered(MouseEvent e) {
33 | button1.setBackground(new Color(0,0,255));
34 | super.mouseEntered(e);
35 | }
36 | });
37 | button1.addMouseListener(new MouseAdapter() {
38 | @Override
39 | public void mouseExited(MouseEvent e) {
40 | button1.setBackground(new Color(255,0,0));
41 | super.mouseExited(e);
42 | }
43 | });
44 | button1.addMouseListener(new MouseAdapter() {
45 | @Override
46 | public void mouseReleased(MouseEvent e) {
47 | button1.setBackground(new Color(0, 255, 0));
48 | super.mouseReleased(e);
49 | }
50 | });
51 |
52 | lbl1.addMouseListener(new MouseAdapter() {
53 | @Override
54 | public void mouseEntered(MouseEvent e) {
55 | lbl1.setIcon(new ImageIcon(mavi));
56 | super.mouseEntered(e);
57 | }
58 | });
59 | lbl1.addMouseListener(new MouseAdapter() {
60 | @Override
61 | public void mouseExited(MouseEvent e) {
62 | lbl1.setIcon(new ImageIcon(kirmizi));
63 | super.mouseExited(e);
64 | }
65 | });
66 | lbl1.addMouseListener(new MouseAdapter() {
67 | @Override
68 | public void mouseReleased(MouseEvent e) {
69 | lbl1.setIcon(new ImageIcon(yesil));
70 | super.mouseReleased(e);
71 | }
72 | });
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/hafta03/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta03;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 |
11 | form1 f1 = new form1();
12 | f1.setVisible(true);
13 | form2 f2 = new form2();
14 | f2.setVisible(true);
15 | form3 f3 = new form3();
16 | f3.setVisible(true);
17 | form4 f4 = new form4();
18 | f4.setVisible(true);
19 | }
20 | });
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/hafta03/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
68 |
--------------------------------------------------------------------------------
/hafta03/form1.java:
--------------------------------------------------------------------------------
1 | package hafta03;
2 |
3 | import javax.swing.*;
4 | import java.awt.event.ItemEvent;
5 | import java.awt.event.ItemListener;
6 |
7 | public class form1 extends JFrame {
8 | private JPanel panel;
9 | private JComboBox comboBox1;
10 | private JLabel lbl1;
11 | private JLabel lbl2;
12 |
13 | form1(){
14 | add(panel);
15 | setTitle("ComboBox");
16 | setSize(600,400);
17 |
18 |
19 | comboBox1.addItemListener(new ItemListener() {
20 | @Override
21 | public void itemStateChanged(ItemEvent e) {
22 | int secilen = (int) comboBox1.getSelectedIndex();
23 | lbl1.setText(Integer.toString(secilen));
24 |
25 | lbl2.setText(comboBox1.getSelectedItem().toString());
26 |
27 | if((int)comboBox1.getSelectedIndex()==0)
28 | {
29 | System.out.println("Elma seçildi");
30 | }
31 |
32 | if(comboBox1.getSelectedItem().toString().equals("armut")){
33 | System.out.println("Armut seçildi");
34 | }
35 |
36 | }
37 | });
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/hafta03/form2.form:
--------------------------------------------------------------------------------
1 |
2 |
42 |
--------------------------------------------------------------------------------
/hafta03/form2.java:
--------------------------------------------------------------------------------
1 | package hafta03;
2 |
3 | import javax.swing.*;
4 | import java.util.ArrayList;
5 | import java.util.Arrays;
6 |
7 | public class form2 extends JFrame {
8 | private JComboBox comboBox1;
9 | private JPanel panel;
10 | DefaultComboBoxModel model = new DefaultComboBoxModel();
11 |
12 | form2(){
13 | add(panel);
14 | setTitle("Dinamik ComboBox");
15 | setSize(600,400);
16 | //model.addElement("Ankara"); //tek tek eleman ekleme
17 | //model.addElement("İstanbul");
18 | //model.addElement("Konya");
19 | /*
20 | for(int i = 0; i<256;i++) {
21 | model.addElement(Integer.toString(i));
22 | } */
23 | ArrayList isimler = new ArrayList<>(Arrays.asList("Ali",
24 | "Ayşe","Betül","Cihan"));
25 | model.addAll(isimler);
26 | comboBox1.setModel(model);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/hafta03/form3.form:
--------------------------------------------------------------------------------
1 |
2 |
69 |
--------------------------------------------------------------------------------
/hafta03/form3.java:
--------------------------------------------------------------------------------
1 | package hafta03;
2 |
3 | import javax.swing.*;
4 | import java.awt.*;
5 | import java.awt.event.ItemEvent;
6 | import java.awt.event.ItemListener;
7 | import java.util.ArrayList;
8 |
9 | public class form3 extends JFrame {
10 | private JComboBox cr;
11 | private JComboBox cg;
12 | private JComboBox cb;
13 | private JButton button1;
14 | private JPanel panel;
15 | DefaultComboBoxModel rmodel= new DefaultComboBoxModel();
16 | DefaultComboBoxModel gmodel= new DefaultComboBoxModel();
17 | DefaultComboBoxModel bmodel= new DefaultComboBoxModel();
18 |
19 | static int r,g,b;
20 |
21 | form3(){
22 | add(panel);
23 | setTitle("ComboBox Renk");
24 | setSize(600,400);
25 | ArrayList sayi = new ArrayList<>();
26 | for(int i=0; i<256;i++){
27 | sayi.add(Integer.toString(i));
28 | }
29 | rmodel.addAll(sayi);
30 | gmodel.addAll(sayi);
31 | bmodel.addAll(sayi);
32 |
33 | cr.setModel(rmodel);
34 | cg.setModel(gmodel);
35 | cb.setModel(bmodel);
36 |
37 | cr.setSelectedIndex(0);
38 | cg.setSelectedIndex(0);
39 | cb.setSelectedIndex(0);
40 |
41 |
42 | cr.addItemListener(new ItemListener() {
43 | @Override
44 | public void itemStateChanged(ItemEvent e) {
45 | r = (int) cr.getSelectedIndex();
46 | g = (int) cg.getSelectedIndex();
47 | b = (int) cb.getSelectedIndex();
48 | button1.setBackground(new Color(r,g,b));
49 | }
50 | });
51 |
52 | cg.addItemListener(new ItemListener() {
53 | @Override
54 | public void itemStateChanged(ItemEvent e) {
55 | r = (int) cr.getSelectedIndex();
56 | g = (int) cg.getSelectedIndex();
57 | b = (int) cb.getSelectedIndex();
58 | button1.setBackground(new Color(r,g,b));
59 | }
60 | });
61 |
62 | cb.addItemListener(new ItemListener() {
63 | @Override
64 | public void itemStateChanged(ItemEvent e) {
65 | r = (int) cr.getSelectedIndex();
66 | g = (int) cg.getSelectedIndex();
67 | b = (int) cb.getSelectedIndex();
68 | button1.setBackground(new Color(r,g,b));
69 | }
70 | });
71 |
72 |
73 |
74 |
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/hafta03/form4.form:
--------------------------------------------------------------------------------
1 |
2 |
40 |
--------------------------------------------------------------------------------
/hafta03/form4.java:
--------------------------------------------------------------------------------
1 | package hafta03;
2 |
3 | import javax.swing.*;
4 | import javax.swing.event.ChangeEvent;
5 | import javax.swing.event.ChangeListener;
6 | import java.awt.event.*;
7 | import java.beans.PropertyChangeListener;
8 |
9 |
10 | public class form4 extends JFrame {
11 |
12 | private JSpinner spinner1;
13 | private JPanel panel;
14 | private JButton button1;
15 |
16 | SpinnerNumberModel model = new SpinnerNumberModel();
17 |
18 | form4(){
19 | add(panel);
20 | setTitle("Spinner");
21 | setSize(600,400);
22 |
23 | model.setMinimum(0);
24 | model.setMaximum(100);
25 | model.setStepSize(3);
26 | spinner1.setModel(model);
27 |
28 |
29 | spinner1.addChangeListener(new ChangeListener() {
30 | @Override
31 | public void stateChanged(ChangeEvent e) {
32 | int genislik = (int) spinner1.getValue();
33 | button1.setSize(genislik,50);
34 | }
35 | });
36 |
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/hafta04/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta04;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 | //form1 f1 = new form1();
11 | //f1.setVisible(true);
12 | //form2 f2 = new form2();
13 | //f2.setVisible(true);
14 | form3 f3 = new form3();
15 | f3.setVisible(true);
16 |
17 | }
18 | });
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/hafta04/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
75 |
--------------------------------------------------------------------------------
/hafta04/form1.java:
--------------------------------------------------------------------------------
1 | package hafta04;
2 |
3 | import javax.swing.*;
4 | import javax.swing.event.ChangeEvent;
5 | import javax.swing.event.ChangeListener;
6 | import java.awt.*;
7 |
8 | public class form1 extends JFrame {
9 | private JPanel panel;
10 | private JSlider rs;
11 | private JSlider gs;
12 | private JSlider bs;
13 | private JButton button1;
14 | static int r,g,b;
15 |
16 | form1(){
17 | add(panel);
18 | setTitle("Slider Componenti");
19 | setSize(600,600);
20 |
21 | r=g=b=0;
22 |
23 | rs.addChangeListener(new ChangeListener() {
24 | @Override
25 | public void stateChanged(ChangeEvent e) {
26 | r = (int) rs.getValue();
27 | g = (int) gs.getValue();
28 | b = (int) bs.getValue();
29 | button1.setBackground(new Color(r,g,b));
30 | button1.setText(Integer.toString(r)+"-"+Integer.toString(g)+"-"+Integer.toString(b));
31 | }
32 | });
33 |
34 | gs.addChangeListener(new ChangeListener() {
35 | @Override
36 | public void stateChanged(ChangeEvent e) {
37 | r = (int) rs.getValue();
38 | g = (int) gs.getValue();
39 | b = (int) bs.getValue();
40 | button1.setBackground(new Color(r,g,b));
41 | button1.setText(Integer.toString(r)+"-"+Integer.toString(g)+"-"+Integer.toString(b));
42 | }
43 | });
44 |
45 | bs.addChangeListener(new ChangeListener() {
46 | @Override
47 | public void stateChanged(ChangeEvent e) {
48 | r = (int) rs.getValue();
49 | g = (int) gs.getValue();
50 | b = (int) bs.getValue();
51 | button1.setBackground(new Color(r,g,b));
52 | button1.setText(Integer.toString(r)+"-"+Integer.toString(g)+"-"+Integer.toString(b));
53 | }
54 | });
55 |
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/hafta04/form2.form:
--------------------------------------------------------------------------------
1 |
2 |
84 |
--------------------------------------------------------------------------------
/hafta04/form2.java:
--------------------------------------------------------------------------------
1 | package hafta04;
2 |
3 | import javax.swing.*;
4 | import javax.swing.event.ChangeEvent;
5 | import javax.swing.event.ChangeListener;
6 | import java.awt.*;
7 |
8 | public class form2 extends JFrame {
9 | private JPanel panel;
10 | private JSlider vs;
11 | private JSlider fs;
12 | private JSlider os;
13 | private JLabel vl;
14 | private JLabel fl;
15 | private JLabel ol;
16 | static int v,f;
17 | static float o;
18 |
19 | form2(){
20 | add(panel);
21 | setTitle("Vize Final");
22 | setSize(600,400);
23 |
24 | v=f=0;
25 |
26 |
27 | vs.addChangeListener(new ChangeListener() {
28 | @Override
29 | public void stateChanged(ChangeEvent e) {
30 | v = (int) vs.getValue();
31 | f = (int) fs.getValue();
32 | o = (float) ((float) v*0.4 + f*0.6);
33 | os.setValue(Math.round(o));
34 | vl.setText("VİZE = "+ Integer.toString(v));
35 | fl.setText("FİNAL = "+ Integer.toString(f));
36 | ol.setText("ORTALAMA = "+ Float.toString(o));
37 | if(o>=60 && o<=100) os.setBackground(Color.GREEN);
38 | else if(0>=55 && o<60) os.setBackground(Color.orange);
39 | else os.setBackground(Color.red);
40 | }
41 | });
42 |
43 | fs.addChangeListener(new ChangeListener() {
44 | @Override
45 | public void stateChanged(ChangeEvent e) {
46 | v = (int) vs.getValue();
47 | f = (int) fs.getValue();
48 | o = (float) ((float) v*0.4 + f*0.6);
49 | os.setValue(Math.round(o));
50 | vl.setText("VİZE = "+ Integer.toString(v));
51 | fl.setText("FİNAL = "+ Integer.toString(f));
52 | ol.setText("ORTALAMA = "+ Float.toString(o));
53 | if(o>=60 && o<=100) os.setBackground(Color.GREEN);
54 | else if(o>=55 && o<60) os.setBackground(Color.ORANGE);
55 | else os.setBackground(Color.RED);
56 | }
57 | });
58 |
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/hafta04/form3.form:
--------------------------------------------------------------------------------
1 |
2 |
93 |
--------------------------------------------------------------------------------
/hafta04/form3.java:
--------------------------------------------------------------------------------
1 | package hafta04;
2 |
3 | import javax.swing.*;
4 | import java.awt.event.ItemEvent;
5 | import java.awt.event.ItemListener;
6 |
7 | public class form3 extends JFrame {
8 | private JPanel panel;
9 | private JCheckBox JSCheckBox;
10 | private JCheckBox cCheckBox1;
11 | private JCheckBox javaCheckBox;
12 | private JCheckBox cCheckBox;
13 | private JRadioButton radioButton1;
14 | private JRadioButton radioButton2;
15 | private JRadioButton radioButton3;
16 | private JRadioButton radioButton4;
17 |
18 | form3(){
19 | add(panel);
20 | setTitle("CheckBox ve RadioButton");
21 | setSize(600,600);
22 |
23 | ButtonGroup bg = new ButtonGroup();
24 | bg.add(radioButton1);
25 | bg.add(radioButton2);
26 | bg.add(radioButton3);
27 | bg.add(radioButton4);
28 |
29 | JSCheckBox.addItemListener(new ItemListener() {
30 | @Override
31 | public void itemStateChanged(ItemEvent e) {
32 | if(JSCheckBox.isSelected()) System.out.println("JS seçildi");
33 | else System.out.println("JS seçimi iptal edildi");
34 | }
35 | });
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/hafta05/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta05;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 | //form1 f1 = new form1();
11 | //f1.setVisible(true);
12 | //form2 f2 = new form2();
13 | //f2.setVisible(true);
14 | //form3 f3 = new form3();
15 | //f3.setVisible(true);
16 | form4 f4 = new form4();
17 | f4.setVisible(true);
18 | }
19 | });
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/hafta05/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
32 |
--------------------------------------------------------------------------------
/hafta05/form1.java:
--------------------------------------------------------------------------------
1 | package hafta05;
2 |
3 | import javax.swing.*;
4 | import java.awt.*;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 |
8 | public class form1 extends JFrame{
9 | private JPanel panel;
10 | private JButton button1;
11 | static boolean durum;
12 |
13 |
14 | form1(){
15 | add(panel);
16 | setTitle("Toggle Button");
17 | setSize(400,400);
18 | durum = true;
19 |
20 | button1.addActionListener(new ActionListener() {
21 | @Override
22 | public void actionPerformed(ActionEvent e) {
23 | if(durum){
24 | panel.setBackground(new Color(74, 69, 69));
25 | button1.setText("AYDINLIK");
26 | durum=false;
27 | } else {
28 | panel.setBackground(new Color(242, 242, 242));
29 | button1.setText("KARANLIK");
30 | durum=true;
31 | }
32 | }
33 | });
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/hafta05/form2.form:
--------------------------------------------------------------------------------
1 |
2 |
62 |
--------------------------------------------------------------------------------
/hafta05/form2.java:
--------------------------------------------------------------------------------
1 | package hafta05;
2 |
3 | import javax.swing.*;
4 | import javax.swing.text.MaskFormatter;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import java.text.ParseException;
8 |
9 | public class form2 extends JFrame {
10 |
11 | private JPanel panel;
12 | private JPasswordField passwordField1;
13 | private JButton button1;
14 | private JFormattedTextField formattedTextField1;
15 |
16 | form2(){
17 | add(panel);
18 | setTitle("Paswword ve Formatted Text");
19 | setSize(600,600);
20 |
21 | try {
22 | MaskFormatter mf = new MaskFormatter("(05##) LLL UU AA");
23 | mf.install(formattedTextField1);
24 | } catch (ParseException e) {
25 | throw new RuntimeException(e);
26 | }
27 | // # sadece sayısal veri girmenizi ister
28 | // L lower sadece küçük harf ister
29 | // U upper sadece büyük harf ister
30 | // A alpha buda sayı ve harf girişi ister.
31 |
32 |
33 |
34 |
35 | button1.addActionListener(new ActionListener() {
36 | @Override
37 | public void actionPerformed(ActionEvent e) {
38 | char[] ps = passwordField1.getPassword();
39 | button1.setText(ps.toString());
40 |
41 | }
42 | });
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/hafta05/form3.form:
--------------------------------------------------------------------------------
1 |
2 |
35 |
--------------------------------------------------------------------------------
/hafta05/form3.java:
--------------------------------------------------------------------------------
1 | package hafta05;
2 |
3 | import javax.swing.*;
4 |
5 | public class form3 extends JFrame {
6 | private JPanel panel;
7 | private JTextArea textArea1;
8 |
9 | form3(){
10 | add(panel);
11 | setTitle("multiline text");
12 | setSize(400,600);
13 |
14 | String s="Bugün hava yağmurlu geçiyordu.\n\n\n Ders online olarak işleniyordu.";
15 | textArea1.setText(s);
16 |
17 |
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/hafta06/Matris.java:
--------------------------------------------------------------------------------
1 | package hafta06;
2 |
3 | import java.util.Random;
4 |
5 | public class Matris {
6 | static int[][] matrisUret(int r, int c){
7 | Random rast = new Random();
8 | int[][] m = new int[r][c];
9 | for(int i=0;i
2 |
39 |
--------------------------------------------------------------------------------
/hafta06/form1.java:
--------------------------------------------------------------------------------
1 | package hafta06;
2 |
3 | import javax.swing.*;
4 |
5 | public class form1 extends JFrame{
6 | private JPanel panel;
7 | private JList list1;
8 |
9 | DefaultListModel liste_model = new DefaultListModel<>();
10 |
11 | form1(){
12 | add(panel);
13 | setTitle("Liste");
14 | setSize(400,400);
15 | liste_model.add(0,"Elma");
16 | liste_model.add(1,"Armut");
17 | list1.setModel(liste_model);
18 |
19 | }
20 |
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/hafta06/form2.form:
--------------------------------------------------------------------------------
1 |
2 |
43 |
--------------------------------------------------------------------------------
/hafta06/form2.java:
--------------------------------------------------------------------------------
1 | package hafta06;
2 |
3 | import javax.swing.*;
4 | import javax.swing.table.DefaultTableModel;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import java.beans.PropertyChangeEvent;
8 | import java.beans.PropertyChangeListener;
9 |
10 | public class form2 extends JFrame{
11 | private JPanel panel;
12 | private JTable table1;
13 | private JButton button1;
14 |
15 | DefaultTableModel model = new DefaultTableModel();
16 |
17 | form2(){
18 | add(panel);
19 | setTitle("Tables");
20 | setSize(400,400);
21 |
22 | model.setRowCount(3);
23 | model.setColumnCount(3);
24 |
25 | table1.setModel(model);
26 | table1.setTableHeader(null);
27 |
28 | table1.setValueAt(25,0,0);
29 | table1.setValueAt(12,0,1);
30 | table1.setValueAt(17,0,2);
31 |
32 | //System.out.println(table1.getValueAt(0,0));
33 |
34 |
35 | button1.addActionListener(new ActionListener() {
36 | @Override
37 | public void actionPerformed(ActionEvent e) {
38 | System.out.println(table1.getSelectedRow()+"-"+table1.getSelectedColumn());
39 | System.out.println(table1.getValueAt(table1.getSelectedRow(),table1.getSelectedColumn()));
40 | }
41 | });
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/hafta06/form3.form:
--------------------------------------------------------------------------------
1 |
2 |
78 |
--------------------------------------------------------------------------------
/hafta06/form3.java:
--------------------------------------------------------------------------------
1 | package hafta06;
2 |
3 | import javax.swing.*;
4 | import javax.swing.table.DefaultTableModel;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 |
8 | public class form3 extends JFrame{
9 | private JPanel panel;
10 | private JTable table1;
11 | private JTable table2;
12 | private JSpinner spinner1;
13 | private JSpinner spinner2;
14 | private JButton button1;
15 | private JTable table3;
16 |
17 | DefaultTableModel model1 = new DefaultTableModel();
18 | DefaultTableModel model2 = new DefaultTableModel();
19 | DefaultTableModel model3 = new DefaultTableModel();
20 |
21 | form3(){
22 | add(panel);
23 | setTitle("Matris Üret");
24 | setSize(900,400);
25 |
26 |
27 | button1.addActionListener(new ActionListener() {
28 | @Override
29 | public void actionPerformed(ActionEvent e) {
30 | model1.setRowCount(0);
31 | model1.setColumnCount(0);
32 | model2.setRowCount(0);
33 | model2.setColumnCount(0);
34 | model3.setRowCount(0);
35 | model3.setColumnCount(0);
36 | int r,c;
37 | r = (int) spinner1.getValue();
38 | c = (int) spinner2.getValue();
39 | model1.setRowCount(r);
40 | model1.setColumnCount(c);
41 | model2.setRowCount(r);
42 | model2.setColumnCount(c);
43 | model3.setRowCount(r);
44 | model3.setColumnCount(c);
45 |
46 | int[][] m1 = Matris.matrisUret(r,c);
47 | int[][] m2 = Matris.matrisUret(r,c);
48 |
49 | table1.setModel(model1);
50 | table1.setTableHeader(null);
51 | table2.setModel(model2);
52 | table2.setTableHeader(null);
53 | table3.setModel(model3);
54 | table3.setTableHeader(null);
55 |
56 | int toplam = 0;
57 | for(int i=0;i
2 |
36 |
--------------------------------------------------------------------------------
/hafta07/form1.java:
--------------------------------------------------------------------------------
1 | package hafta07;
2 |
3 | import javax.print.attribute.SetOfIntegerSyntax;
4 | import javax.swing.*;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import java.awt.event.ItemListener;
8 | import java.util.concurrent.TimeUnit;
9 |
10 | public class form1 extends JFrame {
11 | private JPanel panel;
12 | private JProgressBar progressBar1;
13 | private JButton button1;
14 |
15 | form1(){
16 | add(panel);
17 | setTitle("Progress Bar");
18 | setSize(400,400);
19 |
20 | button1.addActionListener(new ActionListener() {
21 | @Override
22 | public void actionPerformed(ActionEvent e) {
23 | new Thread(new Runnable() {
24 | @Override
25 | public void run() {
26 | for(int i=0;i<100;i++){
27 | try {
28 | TimeUnit.MILLISECONDS.sleep(40);
29 | } catch (InterruptedException ex) {
30 | throw new RuntimeException(ex);
31 | }
32 | progressBar1.setValue(i);
33 | }
34 | }
35 | }).start();
36 | }
37 | });
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/hafta07/form2.form:
--------------------------------------------------------------------------------
1 |
2 |
115 |
--------------------------------------------------------------------------------
/hafta07/form2.java:
--------------------------------------------------------------------------------
1 | package hafta07;
2 |
3 | import javax.swing.*;
4 | import java.awt.event.ActionEvent;
5 | import java.awt.event.ActionListener;
6 |
7 | public class form2 extends JFrame {
8 |
9 | private JPanel panel;
10 | private JButton button1;
11 | private JButton button2;
12 | private JPanel solpanel;
13 | private JPanel sagpanel;
14 | private JTextField textField1;
15 | private JTextField textField2;
16 | private JButton button3;
17 | private JComboBox comboBox1;
18 | private JTextField textField3;
19 |
20 | boolean sol=true;
21 | boolean sag=true;
22 |
23 | form2(){
24 | add(panel);
25 | setTitle("Paneller");
26 | setSize(600,400);
27 |
28 | button1.addActionListener(new ActionListener() {
29 | @Override
30 | public void actionPerformed(ActionEvent e) {
31 | if(sol){
32 | solpanel.setVisible(false);
33 | sol = false;
34 | } else {
35 | solpanel.setVisible(true);
36 | sol = true;
37 | }
38 | }
39 | });
40 | button2.addActionListener(new ActionListener() {
41 | @Override
42 | public void actionPerformed(ActionEvent e) {
43 | if(sag){
44 | sagpanel.setVisible(false);
45 | sag = false;
46 | } else {
47 | sagpanel.setVisible(true);
48 | sag = true;
49 | }
50 | }
51 | });
52 | }
53 |
54 | }
55 |
--------------------------------------------------------------------------------
/hafta07/form3.form:
--------------------------------------------------------------------------------
1 |
2 |
101 |
--------------------------------------------------------------------------------
/hafta07/form3.java:
--------------------------------------------------------------------------------
1 | package hafta07;
2 |
3 | import javax.swing.*;
4 |
5 | public class form3 extends JFrame {
6 | private JPanel panel;
7 | private JTabbedPane tabbedPane1;
8 | private JTextField textField1;
9 | private JPasswordField passwordField1;
10 | private JButton button1;
11 |
12 | form3(){
13 | add(panel);
14 | setTitle("Tabbed Pane");
15 | setSize(400,400);
16 | }
17 |
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/hafta08/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta08;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 | form1 f1 = new form1();
11 | f1.setVisible(true);
12 | }
13 | });
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/hafta08/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
55 |
--------------------------------------------------------------------------------
/hafta08/form1.java:
--------------------------------------------------------------------------------
1 | package hafta08;
2 |
3 | import javax.swing.*;
4 | import javax.swing.table.DefaultTableModel;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import java.sql.ResultSet;
8 | import java.sql.SQLException;
9 |
10 | public class form1 extends JFrame{
11 | private JTable table1;
12 | private JPanel panel;
13 | private JComboBox comboBox1;
14 | private JButton button1;
15 |
16 | DefaultTableModel modelim = new DefaultTableModel();
17 | Object[] kolonlar = {"Plaka","Marka","Model","Tür"};
18 | Object[] satirlar = new Object[4];
19 |
20 | DefaultComboBoxModel comboBoxModel =new DefaultComboBoxModel();
21 |
22 | form1(){
23 | add(panel);
24 | setTitle("Veritabanı işlemleri");
25 | setSize(400,600);
26 | veritabani.baglan();
27 | String sorgu = "select arac.plaka,aracmarka.marka,arac.model,aractur.tur from arac,aracmarka,aractur where arac.marka=aracmarka.id AND arac.tur=aractur.id";
28 | ResultSet rs = veritabani.listele(sorgu);
29 |
30 | modelim.setColumnCount(0);
31 | modelim.setRowCount(0);
32 | modelim.setColumnIdentifiers(kolonlar);
33 |
34 | try {
35 | while (rs.next()){
36 | satirlar[0] = rs.getString("plaka");
37 | satirlar[1] = rs.getString("marka");
38 | satirlar[2] = rs.getString("model");
39 | satirlar[3] = rs.getString("tur");
40 | comboBoxModel.addElement(satirlar[0]);
41 | modelim.addRow(satirlar);
42 | }
43 | table1.setModel(modelim);
44 | comboBox1.setModel(comboBoxModel);
45 | } catch(SQLException e){
46 | e.printStackTrace();
47 | }
48 |
49 |
50 | button1.addActionListener(new ActionListener() {
51 | @Override
52 | public void actionPerformed(ActionEvent e) {
53 | String s = comboBox1.getSelectedItem().toString();
54 | String sorgu = "select arac.plaka,aracmarka.marka,arac.model,aractur.tur from arac,aracmarka,aractur where arac.plaka='"+ s +"' AND arac.marka=aracmarka.id AND arac.tur=aractur.id";
55 | ResultSet rs = veritabani.listele(sorgu);
56 |
57 | modelim.setRowCount(0);
58 | modelim.setColumnCount(0);
59 | modelim.setColumnIdentifiers(kolonlar);
60 |
61 | try {
62 | while (rs.next()){
63 | satirlar[0] = rs.getString("plaka");
64 | satirlar[1] = rs.getString("marka");
65 | satirlar[2] = rs.getString("model");
66 | satirlar[3] = rs.getString("tur");
67 | comboBoxModel.addElement(satirlar[0]);
68 | modelim.addRow(satirlar);
69 | }
70 | table1.setModel(modelim);
71 | comboBox1.setModel(comboBoxModel);
72 | } catch(SQLException e2){
73 | e2.printStackTrace();
74 | }
75 | }
76 | });
77 | }
78 |
79 | }
80 |
--------------------------------------------------------------------------------
/hafta08/veritabani.java:
--------------------------------------------------------------------------------
1 | package hafta08;
2 |
3 | import java.sql.*;
4 |
5 | public class veritabani {
6 | static String url = "jdbc:postgresql://localhost:5432/noveritabani";
7 | //uzak serverda ise localhost yerine oranın ip adresi yazılır
8 | static Connection conn = null;
9 |
10 | static void baglan(){
11 | try {
12 | conn = DriverManager.getConnection(url,"postgres","1234");
13 | System.out.println("Veritabanı bağlantısı başarılı");
14 | } catch (SQLException e) {
15 | throw new RuntimeException(e);
16 | }
17 |
18 | }
19 |
20 | static ResultSet listele(String sorgu){
21 | Statement st;
22 | try {
23 | st = conn.createStatement();
24 | ResultSet rs = st.executeQuery(sorgu);
25 | return rs;
26 | } catch (SQLException e) {
27 | throw new RuntimeException(e);
28 | }
29 | }
30 |
31 |
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/hafta09/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta09;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 | form1 f1 = new form1();
11 | f1.setVisible(true);
12 | }
13 | });
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/hafta09/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
35 |
--------------------------------------------------------------------------------
/hafta09/form1.java:
--------------------------------------------------------------------------------
1 | package hafta09;
2 |
3 | import javax.swing.*;
4 | import java.awt.event.ActionEvent;
5 | import java.awt.event.ActionListener;
6 |
7 | public class form1 extends JFrame{
8 | private JPanel panel;
9 | private JTextField textField1;
10 | private JButton button1;
11 |
12 | form1(){
13 | add(panel);
14 | setSize(400,400);
15 | setTitle("Message Diolags");
16 |
17 |
18 | button1.addActionListener(new ActionListener() {
19 | @Override
20 | public void actionPerformed(ActionEvent e) {
21 | int a = Integer.parseInt(textField1.getText());
22 | if(a<0 || a>100) {
23 | JOptionPane.showMessageDialog(null,"Lütfen 0 ile 100 arasında sayı giriniz!","Hatalı sayı girişi",JOptionPane.ERROR_MESSAGE);
24 | } else {
25 | //yapılacak işlemler
26 | }
27 | }
28 | });
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/hafta10/baslat.java:
--------------------------------------------------------------------------------
1 | package hafta10;
2 |
3 | import javax.swing.*;
4 |
5 | public class baslat {
6 | public static void main(String[] args) {
7 | SwingUtilities.invokeLater(new Runnable() {
8 | @Override
9 | public void run() {
10 | form1 f1 = new form1();
11 | f1.setVisible(true);
12 | }
13 | });
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/hafta10/form1.form:
--------------------------------------------------------------------------------
1 |
2 |
131 |
--------------------------------------------------------------------------------
/hafta10/form1.java:
--------------------------------------------------------------------------------
1 | package hafta10;
2 |
3 | import javax.swing.*;
4 | import javax.swing.table.DefaultTableModel;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import java.awt.event.MouseAdapter;
8 | import java.awt.event.MouseEvent;
9 | import java.sql.ResultSet;
10 | import java.sql.SQLException;
11 |
12 | public class form1 extends JFrame{
13 | private JPanel panel;
14 | private JTable table1;
15 | private JTextField textField1;
16 | private JTextField textField2;
17 | private JTextField textField3;
18 | private JTextField textField4;
19 | private JButton EKLEButton;
20 | private JButton GÜNCELLEButton;
21 | private JButton SİLButton;
22 | private JButton TABLOOLUŞTURButton;
23 | DefaultTableModel modelim = new DefaultTableModel();
24 | Object[] kolonlar = {"Numarası","Ad","Soyad","Telefonu"};
25 | Object[] satirlar = new Object[4];
26 |
27 | form1(){
28 | add(panel);
29 | setTitle("CRUD");
30 | setSize(600,400);
31 | veritabani.baglan();
32 | String sorgu = "select * from ogrenci";
33 | ResultSet rs = veritabani.listele(sorgu);
34 | modelim.setColumnCount(0);
35 | modelim.setRowCount(0);
36 | modelim.setColumnIdentifiers(kolonlar);
37 | try {
38 | while (rs.next()){
39 | satirlar[0] = rs.getString("ogrencino");
40 | satirlar[1] = rs.getString("ad");
41 | satirlar[2] = rs.getString("soyad");
42 | satirlar[3] = rs.getString("tel");
43 |
44 | modelim.addRow(satirlar);
45 | }
46 | table1.setModel(modelim);
47 |
48 | } catch(SQLException e2){
49 | e2.printStackTrace();
50 | }
51 |
52 | table1.addMouseListener(new MouseAdapter() {
53 | @Override
54 | public void mouseClicked(MouseEvent e) {
55 | super.mouseClicked(e);
56 | int s = table1.getSelectedRow();
57 | textField1.setText(table1.getValueAt(s,0).toString());
58 | textField2.setText(table1.getValueAt(s,1).toString());
59 | textField3.setText(table1.getValueAt(s,2).toString());
60 | textField4.setText(table1.getValueAt(s,3).toString());
61 | }
62 | });
63 |
64 | EKLEButton.addActionListener(new ActionListener() {
65 | @Override
66 | public void actionPerformed(ActionEvent e) {
67 | String sorgu = "insert into ogrenci(ogrencino,ad,soyad,tel)" +
68 | "values('"+textField1.getText()+"','"+textField2.getText()+"','"+textField3.getText()+"','"+textField4.getText()+"')";
69 | veritabani.ekle(sorgu);
70 | }
71 | });
72 |
73 | GÜNCELLEButton.addActionListener(new ActionListener() {
74 | @Override
75 | public void actionPerformed(ActionEvent e) {
76 | String sorgu = "update ogrenci " +
77 | "set ogrencino='"+textField1.getText()+"', ad='"+textField2.getText()+"', soyad='"+textField3.getText()+"', tel='"+textField4.getText()+"' " +
78 | "where ogrencino='"+textField1.getText()+"'";
79 | veritabani.guncelle(sorgu);
80 | }
81 | });
82 | SİLButton.addActionListener(new ActionListener() {
83 | @Override
84 | public void actionPerformed(ActionEvent e) {
85 | String sorgu = "delete from ogrenci where ogrencino='"+textField1.getText()+"'";
86 | veritabani.sil(sorgu);
87 | }
88 | });
89 | TABLOOLUŞTURButton.addActionListener(new ActionListener() {
90 | @Override
91 | public void actionPerformed(ActionEvent e) {
92 | String sorgu = "CREATE TABLE IF NOT EXISTS stoklar(id varchar(10) NOT NULL," +
93 | "urunadi varchar(20), urunadedi integer, urunturu varchar(10)," +
94 | "CONSTRAINT stoklar_pkey PRIMARY KEY (id))";
95 | System.out.println(sorgu);
96 | veritabani.olustur(sorgu);
97 | }
98 | });
99 | }
100 | }
101 |
--------------------------------------------------------------------------------
/hafta10/veritabani.java:
--------------------------------------------------------------------------------
1 | package hafta10;
2 |
3 | import java.sql.*;
4 |
5 | public class veritabani {
6 | static String url = "jdbc:postgresql://localhost:5432/ioveritabani";
7 | //uzak serverda ise localhost yerine oranın ip adresi yazılır
8 | static Connection conn = null;
9 |
10 | static void baglan(){
11 | try {
12 | conn = DriverManager.getConnection(url,"postgres","1234");
13 | System.out.println("Veritabanı bağlantısı başarılı");
14 | } catch (SQLException e) {
15 | throw new RuntimeException(e);
16 | }
17 |
18 | }
19 |
20 | static ResultSet listele(String sorgu){
21 | Statement st;
22 | try {
23 | st = conn.createStatement();
24 | ResultSet rs = st.executeQuery(sorgu);
25 | return rs;
26 | } catch (SQLException e) {
27 | throw new RuntimeException(e);
28 | }
29 | }
30 |
31 | static void ekle(String sorgu){
32 | Statement st;
33 | try {
34 | st = conn.createStatement();
35 | st.executeUpdate(sorgu);
36 | } catch (SQLException e) {
37 | throw new RuntimeException(e);
38 | }
39 | }
40 |
41 | static void guncelle(String sorgu){
42 | Statement st;
43 | try {
44 | st = conn.createStatement();
45 | st.executeUpdate(sorgu);
46 | } catch (SQLException e) {
47 | throw new RuntimeException(e);
48 | }
49 | }
50 |
51 | static void sil(String sorgu){
52 | Statement st;
53 | try {
54 | st = conn.createStatement();
55 | st.execute(sorgu);
56 | } catch (SQLException e) {
57 | throw new RuntimeException(e);
58 | }
59 | }
60 |
61 | static void olustur(String sorgu){
62 | Statement st;
63 | try {
64 | st = conn.createStatement();
65 | st.execute(sorgu);
66 | } catch (SQLException e) {
67 | throw new RuntimeException(e);
68 | }
69 | }
70 |
71 | }
72 |
--------------------------------------------------------------------------------
/icon1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/icon1.png
--------------------------------------------------------------------------------
/icon2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/icon2.png
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.0.32112.339
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "io_hesap_makinesi", "io_hesap_makinesi\io_hesap_makinesi.csproj", "{4EBEBBBA-6B4D-4C6E-B03B-D64AB5E41885}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {4EBEBBBA-6B4D-4C6E-B03B-D64AB5E41885}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {4EBEBBBA-6B4D-4C6E-B03B-D64AB5E41885}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {4EBEBBBA-6B4D-4C6E-B03B-D64AB5E41885}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {4EBEBBBA-6B4D-4C6E-B03B-D64AB5E41885}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {D5554144-AA02-4E26-A897-30AD3FF82E5C}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/Form1.cs:
--------------------------------------------------------------------------------
1 | namespace io_hesap_makinesi
2 | {
3 | public partial class Form1 : Form
4 | {
5 | float s1, s2, sonuc;
6 | int islem = 0;
7 | public Form1()
8 | {
9 | InitializeComponent();
10 | }
11 |
12 | private void button1_Click(object sender, EventArgs e)
13 | {
14 | textBox1.Text += "1";
15 | }
16 |
17 | private void button2_Click(object sender, EventArgs e)
18 | {
19 | textBox1.Text += "2";
20 | }
21 |
22 | private void button3_Click(object sender, EventArgs e)
23 | {
24 | textBox1.Text += "3";
25 | }
26 |
27 | private void button4_Click(object sender, EventArgs e)
28 | {
29 | textBox1.Text += "4";
30 | }
31 |
32 | private void button5_Click(object sender, EventArgs e)
33 | {
34 | textBox1.Text += "5";
35 | }
36 |
37 | private void button6_Click(object sender, EventArgs e)
38 | {
39 | textBox1.Text += "6";
40 | }
41 |
42 | private void button7_Click(object sender, EventArgs e)
43 | {
44 | textBox1.Text += "7";
45 | }
46 |
47 | private void button8_Click(object sender, EventArgs e)
48 | {
49 | textBox1.Text += "8";
50 | }
51 |
52 | private void button9_Click(object sender, EventArgs e)
53 | {
54 | textBox1.Text += "9";
55 | }
56 |
57 | private void button13_Click(object sender, EventArgs e)
58 | {
59 | s1 = float.Parse(textBox1.Text);
60 | islem = 2;
61 | textBox1.Clear();
62 | }
63 |
64 | private void button14_Click(object sender, EventArgs e)
65 | {
66 | s1 = float.Parse(textBox1.Text);
67 | islem = 3;
68 | textBox1.Clear();
69 | }
70 |
71 | private void button15_Click(object sender, EventArgs e)
72 | {
73 | s1 = float.Parse(textBox1.Text);
74 | islem = 4;
75 | textBox1.Clear();
76 | }
77 |
78 | private void button16_Click(object sender, EventArgs e)
79 | {
80 | s2 = float.Parse(textBox1.Text);
81 | if (islem == 1)
82 | {
83 | sonuc = s1 + s2;
84 | textBox1.Text = sonuc.ToString();
85 | } else if (islem == 2)
86 | {
87 | sonuc = s1 - s2;
88 | textBox1.Text = sonuc.ToString();
89 | } else if (islem == 3)
90 | {
91 | sonuc = s1 * s2;
92 | textBox1.Text = sonuc.ToString();
93 | }
94 | else if (islem == 4)
95 | {
96 | sonuc = s1 / s2;
97 | textBox1.Text = sonuc.ToString();
98 | }
99 |
100 | }
101 |
102 | private void button11_Click(object sender, EventArgs e)
103 | {
104 | s1 = s2 = sonuc = 0;
105 | islem = 0;
106 | textBox1.Clear();
107 | }
108 |
109 | private void button10_Click(object sender, EventArgs e)
110 | {
111 | textBox1.Text += "0";
112 | }
113 |
114 | private void button12_Click(object sender, EventArgs e)
115 | {
116 | s1 = float.Parse(textBox1.Text);
117 | islem = 1;
118 | textBox1.Clear();
119 | }
120 | }
121 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/Form1.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | text/microsoft-resx
50 |
51 |
52 | 2.0
53 |
54 |
55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
56 |
57 |
58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
59 |
60 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/Program.cs:
--------------------------------------------------------------------------------
1 | namespace io_hesap_makinesi
2 | {
3 | internal static class Program
4 | {
5 | ///
6 | /// The main entry point for the application.
7 | ///
8 | [STAThread]
9 | static void Main()
10 | {
11 | // To customize application configuration such as set high DPI settings or default font,
12 | // see https://aka.ms/applicationconfiguration.
13 | ApplicationConfiguration.Initialize();
14 | Application.Run(new Form1());
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v6.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v6.0": {
9 | "io_hesap_makinesi/1.0.0": {
10 | "runtime": {
11 | "io_hesap_makinesi.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "io_hesap_makinesi/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.dll
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.exe
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.pdb
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/io_hesap_makinesi.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "net6.0",
4 | "frameworks": [
5 | {
6 | "name": "Microsoft.NETCore.App",
7 | "version": "6.0.0"
8 | },
9 | {
10 | "name": "Microsoft.WindowsDesktop.App",
11 | "version": "6.0.0"
12 | }
13 | ]
14 | }
15 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/ref/io_hesap_makinesi.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/bin/Debug/net6.0-windows/ref/io_hesap_makinesi.dll
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/io_hesap_makinesi.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | net6.0-windows
6 | enable
7 | true
8 | enable
9 |
10 |
11 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/io_hesap_makinesi.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Form
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/apphost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/apphost.exe
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Bu kod araç tarafından oluşturuldu.
4 | // Çalışma Zamanı Sürümü:4.0.30319.42000
5 | //
6 | // Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve
7 | // kod yeniden oluşturulursa kaybolur.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | using System;
12 | using System.Reflection;
13 |
14 | [assembly: System.Reflection.AssemblyCompanyAttribute("io_hesap_makinesi")]
15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18 | [assembly: System.Reflection.AssemblyProductAttribute("io_hesap_makinesi")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("io_hesap_makinesi")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 | [assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
22 | [assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
23 |
24 | // MSBuild WriteCodeFragment sınıfı tarafından oluşturuldu.
25 |
26 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 2eee4a282e93aae36542a0d5bc9e73c9674ca530
2 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.Form1.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.Form1.resources
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.GeneratedMSBuildEditorConfig.editorconfig:
--------------------------------------------------------------------------------
1 | is_global = true
2 | build_property.ApplicationManifest =
3 | build_property.StartupObject =
4 | build_property.ApplicationDefaultFont =
5 | build_property.ApplicationHighDpiMode =
6 | build_property.ApplicationUseCompatibleTextRendering =
7 | build_property.ApplicationVisualStyles =
8 | build_property.TargetFramework = net6.0-windows
9 | build_property.TargetPlatformMinVersion = 7.0
10 | build_property.UsingMicrosoftNETSdkWeb =
11 | build_property.ProjectTypeGuids =
12 | build_property.InvariantGlobalization =
13 | build_property.PlatformNeutralAssembly =
14 | build_property._SupportedPlatformList = Linux,macOS,Windows
15 | build_property.RootNamespace = io_hesap_makinesi
16 | build_property.ProjectDir = C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\
17 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.GlobalUsings.g.cs:
--------------------------------------------------------------------------------
1 | //
2 | global using global::System;
3 | global using global::System.Collections.Generic;
4 | global using global::System.Drawing;
5 | global using global::System.IO;
6 | global using global::System.Linq;
7 | global using global::System.Net.Http;
8 | global using global::System.Threading;
9 | global using global::System.Threading.Tasks;
10 | global using global::System.Windows.Forms;
11 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.assets.cache
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | e8344c098de4022c6ebea5e1280229658173f24e
2 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\bin\Debug\net6.0-windows\io_hesap_makinesi.exe
2 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\bin\Debug\net6.0-windows\io_hesap_makinesi.deps.json
3 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\bin\Debug\net6.0-windows\io_hesap_makinesi.runtimeconfig.json
4 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\bin\Debug\net6.0-windows\io_hesap_makinesi.dll
5 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\bin\Debug\net6.0-windows\ref\io_hesap_makinesi.dll
6 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\bin\Debug\net6.0-windows\io_hesap_makinesi.pdb
7 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.csproj.AssemblyReference.cache
8 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.Form1.resources
9 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.csproj.GenerateResource.cache
10 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.GeneratedMSBuildEditorConfig.editorconfig
11 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.AssemblyInfoInputs.cache
12 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.AssemblyInfo.cs
13 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.csproj.CoreCompileInputs.cache
14 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.dll
15 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\ref\io_hesap_makinesi.dll
16 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.pdb
17 | C:\Users\yasong\Documents\vsprojects\io_hesap_makinesi\io_hesap_makinesi\obj\Debug\net6.0-windows\io_hesap_makinesi.genruntimeconfig.cache
18 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.csproj.GenerateResource.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.csproj.GenerateResource.cache
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.designer.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v6.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v6.0": {}
9 | },
10 | "libraries": {}
11 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.designer.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "net6.0",
4 | "frameworks": [
5 | {
6 | "name": "Microsoft.NETCore.App",
7 | "version": "6.0.0"
8 | },
9 | {
10 | "name": "Microsoft.WindowsDesktop.App",
11 | "version": "6.0.0"
12 | }
13 | ],
14 | "additionalProbingPaths": [
15 | "C:\\Users\\yasong\\.dotnet\\store\\|arch|\\|tfm|",
16 | "C:\\Users\\yasong\\.nuget\\packages"
17 | ],
18 | "configProperties": {
19 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
20 | }
21 | }
22 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.dll
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | 6337cbba17b314ac5486e58df2ad5c4b9a6cdf41
2 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/io_hesap_makinesi.pdb
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/ref/io_hesap_makinesi.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/io_hesap_makinesi/io_hesap_makinesi/obj/Debug/net6.0-windows/ref/io_hesap_makinesi.dll
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/io_hesap_makinesi.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\io_hesap_makinesi.csproj": {}
5 | },
6 | "projects": {
7 | "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\io_hesap_makinesi.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\io_hesap_makinesi.csproj",
11 | "projectName": "io_hesap_makinesi",
12 | "projectPath": "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\io_hesap_makinesi.csproj",
13 | "packagesPath": "C:\\Users\\yasong\\.nuget\\packages\\",
14 | "outputPath": "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\obj\\",
15 | "projectStyle": "PackageReference",
16 | "configFilePaths": [
17 | "C:\\Users\\yasong\\AppData\\Roaming\\NuGet\\NuGet.Config",
18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
19 | ],
20 | "originalTargetFrameworks": [
21 | "net6.0-windows7.0"
22 | ],
23 | "sources": {
24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
25 | "https://api.nuget.org/v3/index.json": {}
26 | },
27 | "frameworks": {
28 | "net6.0-windows7.0": {
29 | "targetAlias": "net6.0-windows",
30 | "projectReferences": {}
31 | }
32 | },
33 | "warningProperties": {
34 | "warnAsError": [
35 | "NU1605"
36 | ]
37 | }
38 | },
39 | "frameworks": {
40 | "net6.0-windows7.0": {
41 | "targetAlias": "net6.0-windows",
42 | "imports": [
43 | "net461",
44 | "net462",
45 | "net47",
46 | "net471",
47 | "net472",
48 | "net48"
49 | ],
50 | "assetTargetFallback": true,
51 | "warn": true,
52 | "frameworkReferences": {
53 | "Microsoft.NETCore.App": {
54 | "privateAssets": "all"
55 | },
56 | "Microsoft.WindowsDesktop.App.WindowsForms": {
57 | "privateAssets": "none"
58 | }
59 | },
60 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.101\\RuntimeIdentifierGraph.json"
61 | }
62 | }
63 | }
64 | }
65 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/io_hesap_makinesi.csproj.nuget.g.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | True
5 | NuGet
6 | $(MSBuildThisFileDirectory)project.assets.json
7 | $(UserProfile)\.nuget\packages\
8 | C:\Users\yasong\.nuget\packages\
9 | PackageReference
10 | 6.0.1
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/io_hesap_makinesi.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/project.assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "targets": {
4 | "net6.0-windows7.0": {}
5 | },
6 | "libraries": {},
7 | "projectFileDependencyGroups": {
8 | "net6.0-windows7.0": []
9 | },
10 | "packageFolders": {
11 | "C:\\Users\\yasong\\.nuget\\packages\\": {}
12 | },
13 | "project": {
14 | "version": "1.0.0",
15 | "restore": {
16 | "projectUniqueName": "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\io_hesap_makinesi.csproj",
17 | "projectName": "io_hesap_makinesi",
18 | "projectPath": "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\io_hesap_makinesi.csproj",
19 | "packagesPath": "C:\\Users\\yasong\\.nuget\\packages\\",
20 | "outputPath": "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\obj\\",
21 | "projectStyle": "PackageReference",
22 | "configFilePaths": [
23 | "C:\\Users\\yasong\\AppData\\Roaming\\NuGet\\NuGet.Config",
24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
25 | ],
26 | "originalTargetFrameworks": [
27 | "net6.0-windows7.0"
28 | ],
29 | "sources": {
30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
31 | "https://api.nuget.org/v3/index.json": {}
32 | },
33 | "frameworks": {
34 | "net6.0-windows7.0": {
35 | "targetAlias": "net6.0-windows",
36 | "projectReferences": {}
37 | }
38 | },
39 | "warningProperties": {
40 | "warnAsError": [
41 | "NU1605"
42 | ]
43 | }
44 | },
45 | "frameworks": {
46 | "net6.0-windows7.0": {
47 | "targetAlias": "net6.0-windows",
48 | "imports": [
49 | "net461",
50 | "net462",
51 | "net47",
52 | "net471",
53 | "net472",
54 | "net48"
55 | ],
56 | "assetTargetFallback": true,
57 | "warn": true,
58 | "frameworkReferences": {
59 | "Microsoft.NETCore.App": {
60 | "privateAssets": "all"
61 | },
62 | "Microsoft.WindowsDesktop.App.WindowsForms": {
63 | "privateAssets": "none"
64 | }
65 | },
66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.101\\RuntimeIdentifierGraph.json"
67 | }
68 | }
69 | }
70 | }
--------------------------------------------------------------------------------
/io_hesap_makinesi/io_hesap_makinesi/obj/project.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "dgSpecHash": "27wNE7RgIwPvwSi+TKbNlvh+VjyL/iOSy9xkUZSaPSMYwrR0ENSLMCx4sECftdqmMr2EPA/8eqW4tvwDVUcFkg==",
4 | "success": true,
5 | "projectFilePath": "C:\\Users\\yasong\\Documents\\vsprojects\\io_hesap_makinesi\\io_hesap_makinesi\\io_hesap_makinesi.csproj",
6 | "expectedPackageFiles": [],
7 | "logs": []
8 | }
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/mvnw.cmd:
--------------------------------------------------------------------------------
1 | @REM ----------------------------------------------------------------------------
2 | @REM Licensed to the Apache Software Foundation (ASF) under one
3 | @REM or more contributor license agreements. See the NOTICE file
4 | @REM distributed with this work for additional information
5 | @REM regarding copyright ownership. The ASF licenses this file
6 | @REM to you under the Apache License, Version 2.0 (the
7 | @REM "License"); you may not use this file except in compliance
8 | @REM with the License. You may obtain a copy of the License at
9 | @REM
10 | @REM https://www.apache.org/licenses/LICENSE-2.0
11 | @REM
12 | @REM Unless required by applicable law or agreed to in writing,
13 | @REM software distributed under the License is distributed on an
14 | @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | @REM KIND, either express or implied. See the License for the
16 | @REM specific language governing permissions and limitations
17 | @REM under the License.
18 | @REM ----------------------------------------------------------------------------
19 |
20 | @REM ----------------------------------------------------------------------------
21 | @REM Maven Start Up Batch script
22 | @REM
23 | @REM Required ENV vars:
24 | @REM JAVA_HOME - location of a JDK home dir
25 | @REM
26 | @REM Optional ENV vars
27 | @REM M2_HOME - location of maven2's installed home dir
28 | @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29 | @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
30 | @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31 | @REM e.g. to debug Maven itself, use
32 | @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33 | @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34 | @REM ----------------------------------------------------------------------------
35 |
36 | @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37 | @echo off
38 | @REM set title of command window
39 | title %0
40 | @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
41 | @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
42 |
43 | @REM set %HOME% to equivalent of $HOME
44 | if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
45 |
46 | @REM Execute a user defined script before this one
47 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
48 | @REM check for pre script, once with legacy .bat ending and once with .cmd ending
49 | if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
50 | if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
51 | :skipRcPre
52 |
53 | @setlocal
54 |
55 | set ERROR_CODE=0
56 |
57 | @REM To isolate internal variables from possible post scripts, we use another setlocal
58 | @setlocal
59 |
60 | @REM ==== START VALIDATION ====
61 | if not "%JAVA_HOME%" == "" goto OkJHome
62 |
63 | echo.
64 | echo Error: JAVA_HOME not found in your environment. >&2
65 | echo Please set the JAVA_HOME variable in your environment to match the >&2
66 | echo location of your Java installation. >&2
67 | echo.
68 | goto error
69 |
70 | :OkJHome
71 | if exist "%JAVA_HOME%\bin\java.exe" goto init
72 |
73 | echo.
74 | echo Error: JAVA_HOME is set to an invalid directory. >&2
75 | echo JAVA_HOME = "%JAVA_HOME%" >&2
76 | echo Please set the JAVA_HOME variable in your environment to match the >&2
77 | echo location of your Java installation. >&2
78 | echo.
79 | goto error
80 |
81 | @REM ==== END VALIDATION ====
82 |
83 | :init
84 |
85 | @REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
86 | @REM Fallback to current working directory if not found.
87 |
88 | set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
89 | IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
90 |
91 | set EXEC_DIR=%CD%
92 | set WDIR=%EXEC_DIR%
93 | :findBaseDir
94 | IF EXIST "%WDIR%"\.mvn goto baseDirFound
95 | cd ..
96 | IF "%WDIR%"=="%CD%" goto baseDirNotFound
97 | set WDIR=%CD%
98 | goto findBaseDir
99 |
100 | :baseDirFound
101 | set MAVEN_PROJECTBASEDIR=%WDIR%
102 | cd "%EXEC_DIR%"
103 | goto endDetectBaseDir
104 |
105 | :baseDirNotFound
106 | set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
107 | cd "%EXEC_DIR%"
108 |
109 | :endDetectBaseDir
110 |
111 | IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
112 |
113 | @setlocal EnableExtensions EnableDelayedExpansion
114 | for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
115 | @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
116 |
117 | :endReadAdditionalConfig
118 |
119 | SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
120 | set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
121 | set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
122 |
123 | set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
124 |
125 | FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
126 | IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
127 | )
128 |
129 | @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
130 | @REM This allows using the maven wrapper in projects that prohibit checking in binary data.
131 | if exist %WRAPPER_JAR% (
132 | if "%MVNW_VERBOSE%" == "true" (
133 | echo Found %WRAPPER_JAR%
134 | )
135 | ) else (
136 | if not "%MVNW_REPOURL%" == "" (
137 | SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
138 | )
139 | if "%MVNW_VERBOSE%" == "true" (
140 | echo Couldn't find %WRAPPER_JAR%, downloading it ...
141 | echo Downloading from: %DOWNLOAD_URL%
142 | )
143 |
144 | powershell -Command "&{"^
145 | "$webclient = new-object System.Net.WebClient;"^
146 | "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
147 | "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
148 | "}"^
149 | "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
150 | "}"
151 | if "%MVNW_VERBOSE%" == "true" (
152 | echo Finished downloading %WRAPPER_JAR%
153 | )
154 | )
155 | @REM End of extension
156 |
157 | @REM Provide a "standardized" way to retrieve the CLI args that will
158 | @REM work with both Windows and non-Windows executions.
159 | set MAVEN_CMD_LINE_ARGS=%*
160 |
161 | %MAVEN_JAVA_EXE% ^
162 | %JVM_CONFIG_MAVEN_PROPS% ^
163 | %MAVEN_OPTS% ^
164 | %MAVEN_DEBUG_OPTS% ^
165 | -classpath %WRAPPER_JAR% ^
166 | "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
167 | %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
168 | if ERRORLEVEL 1 goto error
169 | goto end
170 |
171 | :error
172 | set ERROR_CODE=1
173 |
174 | :end
175 | @endlocal & set ERROR_CODE=%ERROR_CODE%
176 |
177 | if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
178 | @REM check for post script, once with legacy .bat ending and once with .cmd ending
179 | if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
180 | if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
181 | :skipRcPost
182 |
183 | @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
184 | if "%MAVEN_BATCH_PAUSE%"=="on" pause
185 |
186 | if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
187 |
188 | cmd /C exit /B %ERROR_CODE%
189 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/no_javafx_giris.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 | com.example
8 | no_javafx_giris
9 | 1.0-SNAPSHOT
10 | no_javafx_giris
11 |
12 |
13 | UTF-8
14 | 5.8.2
15 |
16 |
17 |
18 |
19 | org.openjfx
20 | javafx-controls
21 | 17.0.2
22 |
23 |
24 | org.openjfx
25 | javafx-fxml
26 | 17.0.2
27 |
28 |
29 | org.controlsfx
30 | controlsfx
31 | 11.1.1
32 |
33 |
34 | com.dlsc.formsfx
35 | formsfx-core
36 | 11.5.0
37 |
38 |
39 | org.openjfx
40 | *
41 |
42 |
43 |
44 |
45 | org.junit.jupiter
46 | junit-jupiter-api
47 | ${junit.version}
48 | test
49 |
50 |
51 | org.junit.jupiter
52 | junit-jupiter-engine
53 | ${junit.version}
54 | test
55 |
56 |
57 |
58 |
59 |
60 |
61 | org.apache.maven.plugins
62 | maven-compiler-plugin
63 | 3.10.1
64 |
65 | 15
66 | 15
67 |
68 |
69 |
70 | org.openjfx
71 | javafx-maven-plugin
72 | 0.0.8
73 |
74 |
75 |
76 | default-cli
77 |
78 | com.example.no_javafx_giris/com.example.no_javafx_giris.HelloApplication
79 |
80 | app
81 | app
82 | app
83 | true
84 | true
85 | true
86 |
87 |
88 |
89 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/src/main/java/com/example/no_javafx_giris/HelloApplication.java:
--------------------------------------------------------------------------------
1 | package com.example.no_javafx_giris;
2 |
3 | import javafx.application.Application;
4 | import javafx.fxml.FXMLLoader;
5 | import javafx.scene.Scene;
6 | import javafx.stage.Stage;
7 |
8 | import java.io.IOException;
9 |
10 | public class HelloApplication extends Application {
11 | @Override
12 | public void start(Stage stage) throws IOException {
13 | FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("newview.fxml"));
14 | Scene scene = new Scene(fxmlLoader.load(), 400, 400);
15 | stage.setTitle("Yeni Sayfa!");
16 | stage.setScene(scene);
17 | stage.show();
18 | }
19 |
20 | public static void main(String[] args) {
21 | launch();
22 | }
23 | }
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/src/main/java/com/example/no_javafx_giris/HelloController.java:
--------------------------------------------------------------------------------
1 | package com.example.no_javafx_giris;
2 |
3 | import javafx.fxml.FXML;
4 | import javafx.scene.control.Label;
5 |
6 | public class HelloController {
7 | @FXML
8 | private Label welcomeText;
9 |
10 | @FXML
11 | protected void onHelloButtonClick() {
12 | welcomeText.setText("Welcome to JavaFX Application!");
13 | }
14 | }
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/src/main/java/com/example/no_javafx_giris/NewviewController.java:
--------------------------------------------------------------------------------
1 | package com.example.no_javafx_giris;
2 |
3 | import javafx.fxml.FXML;
4 | import javafx.scene.control.Button;
5 | import javafx.scene.control.TextField;
6 |
7 | public class NewviewController {
8 | @FXML
9 | public TextField txt;
10 | @FXML
11 | public Button btn;
12 |
13 | @FXML
14 | public void calistir(){
15 | btn.setText(txt.getText());
16 | }
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | module com.example.no_javafx_giris {
2 | requires javafx.controls;
3 | requires javafx.fxml;
4 |
5 | requires org.controlsfx.controls;
6 | requires com.dlsc.formsfx;
7 |
8 | opens com.example.no_javafx_giris to javafx.fxml;
9 | exports com.example.no_javafx_giris;
10 | }
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/src/main/resources/com/example/no_javafx_giris/hello-view.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/src/main/resources/com/example/no_javafx_giris/newview.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/HelloApplication.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/HelloApplication.class
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/HelloController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/HelloController.class
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/NewviewController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/NewviewController.class
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/hello-view.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/target/classes/com/example/no_javafx_giris/newview.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/javaFX/no_javafx_giris/target/classes/module-info.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/javaFX/no_javafx_giris/target/classes/module-info.class
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/mvnw:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # ----------------------------------------------------------------------------
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # https://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing,
14 | # software distributed under the License is distributed on an
15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | # KIND, either express or implied. See the License for the
17 | # specific language governing permissions and limitations
18 | # under the License.
19 | # ----------------------------------------------------------------------------
20 |
21 | # ----------------------------------------------------------------------------
22 | # Maven Start Up Batch script
23 | #
24 | # Required ENV vars:
25 | # ------------------
26 | # JAVA_HOME - location of a JDK home dir
27 | #
28 | # Optional ENV vars
29 | # -----------------
30 | # M2_HOME - location of maven2's installed home dir
31 | # MAVEN_OPTS - parameters passed to the Java VM when running Maven
32 | # e.g. to debug Maven itself, use
33 | # set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34 | # MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35 | # ----------------------------------------------------------------------------
36 |
37 | if [ -z "$MAVEN_SKIP_RC" ] ; then
38 |
39 | if [ -f /usr/local/etc/mavenrc ] ; then
40 | . /usr/local/etc/mavenrc
41 | fi
42 |
43 | if [ -f /etc/mavenrc ] ; then
44 | . /etc/mavenrc
45 | fi
46 |
47 | if [ -f "$HOME/.mavenrc" ] ; then
48 | . "$HOME/.mavenrc"
49 | fi
50 |
51 | fi
52 |
53 | # OS specific support. $var _must_ be set to either true or false.
54 | cygwin=false;
55 | darwin=false;
56 | mingw=false
57 | case "`uname`" in
58 | CYGWIN*) cygwin=true ;;
59 | MINGW*) mingw=true;;
60 | Darwin*) darwin=true
61 | # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
62 | # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
63 | if [ -z "$JAVA_HOME" ]; then
64 | if [ -x "/usr/libexec/java_home" ]; then
65 | export JAVA_HOME="`/usr/libexec/java_home`"
66 | else
67 | export JAVA_HOME="/Library/Java/Home"
68 | fi
69 | fi
70 | ;;
71 | esac
72 |
73 | if [ -z "$JAVA_HOME" ] ; then
74 | if [ -r /etc/gentoo-release ] ; then
75 | JAVA_HOME=`java-config --jre-home`
76 | fi
77 | fi
78 |
79 | if [ -z "$M2_HOME" ] ; then
80 | ## resolve links - $0 may be a link to maven's home
81 | PRG="$0"
82 |
83 | # need this for relative symlinks
84 | while [ -h "$PRG" ] ; do
85 | ls=`ls -ld "$PRG"`
86 | link=`expr "$ls" : '.*-> \(.*\)$'`
87 | if expr "$link" : '/.*' > /dev/null; then
88 | PRG="$link"
89 | else
90 | PRG="`dirname "$PRG"`/$link"
91 | fi
92 | done
93 |
94 | saveddir=`pwd`
95 |
96 | M2_HOME=`dirname "$PRG"`/..
97 |
98 | # make it fully qualified
99 | M2_HOME=`cd "$M2_HOME" && pwd`
100 |
101 | cd "$saveddir"
102 | # echo Using m2 at $M2_HOME
103 | fi
104 |
105 | # For Cygwin, ensure paths are in UNIX format before anything is touched
106 | if $cygwin ; then
107 | [ -n "$M2_HOME" ] &&
108 | M2_HOME=`cygpath --unix "$M2_HOME"`
109 | [ -n "$JAVA_HOME" ] &&
110 | JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
111 | [ -n "$CLASSPATH" ] &&
112 | CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
113 | fi
114 |
115 | # For Mingw, ensure paths are in UNIX format before anything is touched
116 | if $mingw ; then
117 | [ -n "$M2_HOME" ] &&
118 | M2_HOME="`(cd "$M2_HOME"; pwd)`"
119 | [ -n "$JAVA_HOME" ] &&
120 | JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
121 | fi
122 |
123 | if [ -z "$JAVA_HOME" ]; then
124 | javaExecutable="`which javac`"
125 | if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
126 | # readlink(1) is not available as standard on Solaris 10.
127 | readLink=`which readlink`
128 | if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
129 | if $darwin ; then
130 | javaHome="`dirname \"$javaExecutable\"`"
131 | javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
132 | else
133 | javaExecutable="`readlink -f \"$javaExecutable\"`"
134 | fi
135 | javaHome="`dirname \"$javaExecutable\"`"
136 | javaHome=`expr "$javaHome" : '\(.*\)/bin'`
137 | JAVA_HOME="$javaHome"
138 | export JAVA_HOME
139 | fi
140 | fi
141 | fi
142 |
143 | if [ -z "$JAVACMD" ] ; then
144 | if [ -n "$JAVA_HOME" ] ; then
145 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
146 | # IBM's JDK on AIX uses strange locations for the executables
147 | JAVACMD="$JAVA_HOME/jre/sh/java"
148 | else
149 | JAVACMD="$JAVA_HOME/bin/java"
150 | fi
151 | else
152 | JAVACMD="`\\unset -f command; \\command -v java`"
153 | fi
154 | fi
155 |
156 | if [ ! -x "$JAVACMD" ] ; then
157 | echo "Error: JAVA_HOME is not defined correctly." >&2
158 | echo " We cannot execute $JAVACMD" >&2
159 | exit 1
160 | fi
161 |
162 | if [ -z "$JAVA_HOME" ] ; then
163 | echo "Warning: JAVA_HOME environment variable is not set."
164 | fi
165 |
166 | CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
167 |
168 | # traverses directory structure from process work directory to filesystem root
169 | # first directory with .mvn subdirectory is considered project base directory
170 | find_maven_basedir() {
171 |
172 | if [ -z "$1" ]
173 | then
174 | echo "Path not specified to find_maven_basedir"
175 | return 1
176 | fi
177 |
178 | basedir="$1"
179 | wdir="$1"
180 | while [ "$wdir" != '/' ] ; do
181 | if [ -d "$wdir"/.mvn ] ; then
182 | basedir=$wdir
183 | break
184 | fi
185 | # workaround for JBEAP-8937 (on Solaris 10/Sparc)
186 | if [ -d "${wdir}" ]; then
187 | wdir=`cd "$wdir/.."; pwd`
188 | fi
189 | # end of workaround
190 | done
191 | echo "${basedir}"
192 | }
193 |
194 | # concatenates all lines of a file
195 | concat_lines() {
196 | if [ -f "$1" ]; then
197 | echo "$(tr -s '\n' ' ' < "$1")"
198 | fi
199 | }
200 |
201 | BASE_DIR=`find_maven_basedir "$(pwd)"`
202 | if [ -z "$BASE_DIR" ]; then
203 | exit 1;
204 | fi
205 |
206 | ##########################################################################################
207 | # Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
208 | # This allows using the maven wrapper in projects that prohibit checking in binary data.
209 | ##########################################################################################
210 | if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
211 | if [ "$MVNW_VERBOSE" = true ]; then
212 | echo "Found .mvn/wrapper/maven-wrapper.jar"
213 | fi
214 | else
215 | if [ "$MVNW_VERBOSE" = true ]; then
216 | echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
217 | fi
218 | if [ -n "$MVNW_REPOURL" ]; then
219 | jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
220 | else
221 | jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
222 | fi
223 | while IFS="=" read key value; do
224 | case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
225 | esac
226 | done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
227 | if [ "$MVNW_VERBOSE" = true ]; then
228 | echo "Downloading from: $jarUrl"
229 | fi
230 | wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
231 | if $cygwin; then
232 | wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
233 | fi
234 |
235 | if command -v wget > /dev/null; then
236 | if [ "$MVNW_VERBOSE" = true ]; then
237 | echo "Found wget ... using wget"
238 | fi
239 | if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
240 | wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
241 | else
242 | wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
243 | fi
244 | elif command -v curl > /dev/null; then
245 | if [ "$MVNW_VERBOSE" = true ]; then
246 | echo "Found curl ... using curl"
247 | fi
248 | if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
249 | curl -o "$wrapperJarPath" "$jarUrl" -f
250 | else
251 | curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
252 | fi
253 |
254 | else
255 | if [ "$MVNW_VERBOSE" = true ]; then
256 | echo "Falling back to using Java to download"
257 | fi
258 | javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
259 | # For Cygwin, switch paths to Windows format before running javac
260 | if $cygwin; then
261 | javaClass=`cygpath --path --windows "$javaClass"`
262 | fi
263 | if [ -e "$javaClass" ]; then
264 | if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
265 | if [ "$MVNW_VERBOSE" = true ]; then
266 | echo " - Compiling MavenWrapperDownloader.java ..."
267 | fi
268 | # Compiling the Java class
269 | ("$JAVA_HOME/bin/javac" "$javaClass")
270 | fi
271 | if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
272 | # Running the downloader
273 | if [ "$MVNW_VERBOSE" = true ]; then
274 | echo " - Running MavenWrapperDownloader.java ..."
275 | fi
276 | ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
277 | fi
278 | fi
279 | fi
280 | fi
281 | ##########################################################################################
282 | # End of extension
283 | ##########################################################################################
284 |
285 | export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
286 | if [ "$MVNW_VERBOSE" = true ]; then
287 | echo $MAVEN_PROJECTBASEDIR
288 | fi
289 | MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
290 |
291 | # For Cygwin, switch paths to Windows format before running java
292 | if $cygwin; then
293 | [ -n "$M2_HOME" ] &&
294 | M2_HOME=`cygpath --path --windows "$M2_HOME"`
295 | [ -n "$JAVA_HOME" ] &&
296 | JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
297 | [ -n "$CLASSPATH" ] &&
298 | CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
299 | [ -n "$MAVEN_PROJECTBASEDIR" ] &&
300 | MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
301 | fi
302 |
303 | # Provide a "standardized" way to retrieve the CLI args that will
304 | # work with both Windows and non-Windows executions.
305 | MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
306 | export MAVEN_CMD_LINE_ARGS
307 |
308 | WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
309 |
310 | exec "$JAVACMD" \
311 | $MAVEN_OPTS \
312 | $MAVEN_DEBUG_OPTS \
313 | -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
314 | "-Dmaven.home=${M2_HOME}" \
315 | "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
316 | ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
317 |
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/mvnw.cmd:
--------------------------------------------------------------------------------
1 | @REM ----------------------------------------------------------------------------
2 | @REM Licensed to the Apache Software Foundation (ASF) under one
3 | @REM or more contributor license agreements. See the NOTICE file
4 | @REM distributed with this work for additional information
5 | @REM regarding copyright ownership. The ASF licenses this file
6 | @REM to you under the Apache License, Version 2.0 (the
7 | @REM "License"); you may not use this file except in compliance
8 | @REM with the License. You may obtain a copy of the License at
9 | @REM
10 | @REM https://www.apache.org/licenses/LICENSE-2.0
11 | @REM
12 | @REM Unless required by applicable law or agreed to in writing,
13 | @REM software distributed under the License is distributed on an
14 | @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | @REM KIND, either express or implied. See the License for the
16 | @REM specific language governing permissions and limitations
17 | @REM under the License.
18 | @REM ----------------------------------------------------------------------------
19 |
20 | @REM ----------------------------------------------------------------------------
21 | @REM Maven Start Up Batch script
22 | @REM
23 | @REM Required ENV vars:
24 | @REM JAVA_HOME - location of a JDK home dir
25 | @REM
26 | @REM Optional ENV vars
27 | @REM M2_HOME - location of maven2's installed home dir
28 | @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29 | @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
30 | @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31 | @REM e.g. to debug Maven itself, use
32 | @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33 | @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34 | @REM ----------------------------------------------------------------------------
35 |
36 | @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37 | @echo off
38 | @REM set title of command window
39 | title %0
40 | @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
41 | @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
42 |
43 | @REM set %HOME% to equivalent of $HOME
44 | if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
45 |
46 | @REM Execute a user defined script before this one
47 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
48 | @REM check for pre script, once with legacy .bat ending and once with .cmd ending
49 | if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
50 | if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
51 | :skipRcPre
52 |
53 | @setlocal
54 |
55 | set ERROR_CODE=0
56 |
57 | @REM To isolate internal variables from possible post scripts, we use another setlocal
58 | @setlocal
59 |
60 | @REM ==== START VALIDATION ====
61 | if not "%JAVA_HOME%" == "" goto OkJHome
62 |
63 | echo.
64 | echo Error: JAVA_HOME not found in your environment. >&2
65 | echo Please set the JAVA_HOME variable in your environment to match the >&2
66 | echo location of your Java installation. >&2
67 | echo.
68 | goto error
69 |
70 | :OkJHome
71 | if exist "%JAVA_HOME%\bin\java.exe" goto init
72 |
73 | echo.
74 | echo Error: JAVA_HOME is set to an invalid directory. >&2
75 | echo JAVA_HOME = "%JAVA_HOME%" >&2
76 | echo Please set the JAVA_HOME variable in your environment to match the >&2
77 | echo location of your Java installation. >&2
78 | echo.
79 | goto error
80 |
81 | @REM ==== END VALIDATION ====
82 |
83 | :init
84 |
85 | @REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
86 | @REM Fallback to current working directory if not found.
87 |
88 | set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
89 | IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
90 |
91 | set EXEC_DIR=%CD%
92 | set WDIR=%EXEC_DIR%
93 | :findBaseDir
94 | IF EXIST "%WDIR%"\.mvn goto baseDirFound
95 | cd ..
96 | IF "%WDIR%"=="%CD%" goto baseDirNotFound
97 | set WDIR=%CD%
98 | goto findBaseDir
99 |
100 | :baseDirFound
101 | set MAVEN_PROJECTBASEDIR=%WDIR%
102 | cd "%EXEC_DIR%"
103 | goto endDetectBaseDir
104 |
105 | :baseDirNotFound
106 | set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
107 | cd "%EXEC_DIR%"
108 |
109 | :endDetectBaseDir
110 |
111 | IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
112 |
113 | @setlocal EnableExtensions EnableDelayedExpansion
114 | for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
115 | @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
116 |
117 | :endReadAdditionalConfig
118 |
119 | SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
120 | set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
121 | set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
122 |
123 | set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
124 |
125 | FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
126 | IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
127 | )
128 |
129 | @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
130 | @REM This allows using the maven wrapper in projects that prohibit checking in binary data.
131 | if exist %WRAPPER_JAR% (
132 | if "%MVNW_VERBOSE%" == "true" (
133 | echo Found %WRAPPER_JAR%
134 | )
135 | ) else (
136 | if not "%MVNW_REPOURL%" == "" (
137 | SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
138 | )
139 | if "%MVNW_VERBOSE%" == "true" (
140 | echo Couldn't find %WRAPPER_JAR%, downloading it ...
141 | echo Downloading from: %DOWNLOAD_URL%
142 | )
143 |
144 | powershell -Command "&{"^
145 | "$webclient = new-object System.Net.WebClient;"^
146 | "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
147 | "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
148 | "}"^
149 | "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
150 | "}"
151 | if "%MVNW_VERBOSE%" == "true" (
152 | echo Finished downloading %WRAPPER_JAR%
153 | )
154 | )
155 | @REM End of extension
156 |
157 | @REM Provide a "standardized" way to retrieve the CLI args that will
158 | @REM work with both Windows and non-Windows executions.
159 | set MAVEN_CMD_LINE_ARGS=%*
160 |
161 | %MAVEN_JAVA_EXE% ^
162 | %JVM_CONFIG_MAVEN_PROPS% ^
163 | %MAVEN_OPTS% ^
164 | %MAVEN_DEBUG_OPTS% ^
165 | -classpath %WRAPPER_JAR% ^
166 | "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
167 | %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
168 | if ERRORLEVEL 1 goto error
169 | goto end
170 |
171 | :error
172 | set ERROR_CODE=1
173 |
174 | :end
175 | @endlocal & set ERROR_CODE=%ERROR_CODE%
176 |
177 | if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
178 | @REM check for post script, once with legacy .bat ending and once with .cmd ending
179 | if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
180 | if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
181 | :skipRcPost
182 |
183 | @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
184 | if "%MAVEN_BATCH_PAUSE%"=="on" pause
185 |
186 | if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
187 |
188 | cmd /C exit /B %ERROR_CODE%
189 |
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/no_sayitahmin.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 | com.example
8 | no_sayitahmin
9 | 1.0-SNAPSHOT
10 | no_sayitahmin
11 |
12 |
13 | UTF-8
14 | 5.8.2
15 |
16 |
17 |
18 |
19 | org.openjfx
20 | javafx-controls
21 | 17.0.2
22 |
23 |
24 | org.openjfx
25 | javafx-fxml
26 | 17.0.2
27 |
28 |
29 | org.controlsfx
30 | controlsfx
31 | 11.1.1
32 |
33 |
34 | com.dlsc.formsfx
35 | formsfx-core
36 | 11.5.0
37 |
38 |
39 | org.openjfx
40 | *
41 |
42 |
43 |
44 |
45 | org.junit.jupiter
46 | junit-jupiter-api
47 | ${junit.version}
48 | test
49 |
50 |
51 | org.junit.jupiter
52 | junit-jupiter-engine
53 | ${junit.version}
54 | test
55 |
56 |
57 |
58 |
59 |
60 |
61 | org.apache.maven.plugins
62 | maven-compiler-plugin
63 | 3.10.1
64 |
65 | 15
66 | 15
67 |
68 |
69 |
70 | org.openjfx
71 | javafx-maven-plugin
72 | 0.0.8
73 |
74 |
75 |
76 | default-cli
77 |
78 | com.example.no_sayitahmin/com.example.no_sayitahmin.HelloApplication
79 | app
80 | app
81 | app
82 | true
83 | true
84 | true
85 |
86 |
87 |
88 |
89 |
90 |
91 |
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/src/main/java/com/example/no_sayitahmin/HelloApplication.java:
--------------------------------------------------------------------------------
1 | package com.example.no_sayitahmin;
2 |
3 | import javafx.application.Application;
4 | import javafx.fxml.FXMLLoader;
5 | import javafx.scene.Scene;
6 | import javafx.stage.Stage;
7 |
8 | import java.io.IOException;
9 |
10 | public class HelloApplication extends Application {
11 | @Override
12 | public void start(Stage stage) throws IOException {
13 | FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
14 | Scene scene = new Scene(fxmlLoader.load(), 400, 400);
15 | stage.setTitle("Hello!");
16 | stage.setScene(scene);
17 | stage.show();
18 | }
19 |
20 | public static void main(String[] args) {
21 | launch();
22 | }
23 | }
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/src/main/java/com/example/no_sayitahmin/HelloController.java:
--------------------------------------------------------------------------------
1 | package com.example.no_sayitahmin;
2 |
3 | import javafx.fxml.FXML;
4 | import javafx.scene.control.Label;
5 | import javafx.scene.control.TextField;
6 |
7 | import java.util.Random;
8 |
9 | public class HelloController {
10 | @FXML
11 | private Label lbl;
12 | @FXML
13 | public TextField txt;
14 | Random r = new Random();
15 | int tahmin = -1, sayac=0, rast=r.nextInt(100);
16 |
17 |
18 | @FXML
19 | protected void tahminEt() {
20 | tahmin = Integer.parseInt(txt.getText());
21 | sayac++;
22 | if(tahmin==rast){
23 | lbl.setText("Tebrikler " + sayac + ". denemede bildiniz!" );
24 | } else if (tahmin>rast) {
25 | lbl.setText("Daha küçük sayı gir! " + sayac + ". denemede." );
26 | } else if (tahmin
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 |
19 |
20 |
21 |
22 |
26 |
27 |
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/target/classes/com/example/no_sayitahmin/HelloApplication.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/javaFX/no_sayitahmin/target/classes/com/example/no_sayitahmin/HelloApplication.class
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/target/classes/com/example/no_sayitahmin/HelloController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/javaFX/no_sayitahmin/target/classes/com/example/no_sayitahmin/HelloController.class
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/target/classes/com/example/no_sayitahmin/hello-view.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 |
19 |
20 |
21 |
22 |
26 |
27 |
--------------------------------------------------------------------------------
/javaFX/no_sayitahmin/target/classes/module-info.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yasinhoca/visual_programming_spring_2023/c4562b4c800ca2ffb46ae19ea0309f624a44b1a3/javaFX/no_sayitahmin/target/classes/module-info.class
--------------------------------------------------------------------------------