5 C# mini projects with source code
8:28
4 сағат бұрын
Пікірлер
@user-je1uo2vt8v
@user-je1uo2vt8v 7 сағат бұрын
this is 2tier ?
@juanarroyo1744
@juanarroyo1744 15 сағат бұрын
Un vídeo sin sonido es comida sin sabor
@sulevanG
@sulevanG 16 сағат бұрын
Hi i really needed your help. Can you make a video about how to make a jtable with disabled duplicate entry? For example when i put James in the jtable i shouldn't be able to put another one. Only limit it in 1?
@1BestCsharpblog
@1BestCsharpblog 16 сағат бұрын
import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashSet; public class UniqueEntryJTableDemo extends JFrame { private JTable table; private DefaultTableModel model; private JTextField textField; private HashSet<String> uniqueEntries; public UniqueEntryJTableDemo() { setTitle("Unique Entry JTable"); setDefaultCloseOperation(EXIT_ON_CLOSE); setSize(400, 300); // Initialize HashSet to store unique entries uniqueEntries = new HashSet<>(); // Create table model model = new DefaultTableModel(); model.addColumn("Name"); // Create JTable with the model table = new JTable(model); // Create JTextField for input textField = new JTextField(20); // Create JButton to add entry JButton addButton = new JButton("Add"); addButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { addEntry(); } }); // Create JPanel for input components JPanel inputPanel = new JPanel(); inputPanel.add(textField); inputPanel.add(addButton); // Add components to JFrame add(new JScrollPane(table), BorderLayout.CENTER); add(inputPanel, BorderLayout.SOUTH); } private void addEntry() { String entry = textField.getText().trim(); if (!entry.isEmpty() && !uniqueEntries.contains(entry)) { uniqueEntries.add(entry); // Add to HashSet model.addRow(new Object[]{entry}); // Add to JTable textField.setText(""); // Clear text field } else { JOptionPane.showMessageDialog(this, "Duplicate entry or empty string!", "Error", JOptionPane.ERROR_MESSAGE); } } public static void main(String[] args) { new UniqueEntryJTableDemo().setVisible(true); } }
@1BestCsharpblog
@1BestCsharpblog 20 сағат бұрын
▶ ▶ ▶ LEAVE A LIKE FOR MORE PROJECTS 👍👍👍 ▶ Create a Custom CheckBox: kzbin.info/www/bejne/l53OlImLh958rpo ▶ Create a Custom RadioButton: kzbin.info/www/bejne/a3fIeGmFna-aZ5I
@AdifyX
@AdifyX Күн бұрын
super. 👏👏👏👏💫
@alwynnbelarmino8204
@alwynnbelarmino8204 2 күн бұрын
java.sql.SQLException: Parameter index out of range (7 > number of parameters, which is 6). help!!
@1BestCsharpblog
@1BestCsharpblog 16 сағат бұрын
Make sure the number of placeholders (?) in your SQL query matches the number of parameters you're trying to set
@mcrazick8662
@mcrazick8662 3 күн бұрын
straight to the point, great tutorial
@_soulsync888
@_soulsync888 4 күн бұрын
Sir, in the datapanelvalues code is if i run it will have errors
@_soulsync888
@_soulsync888 4 күн бұрын
how to resolve?
@jordanpandayjr.8635
@jordanpandayjr.8635 4 күн бұрын
Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet. f.
@cadellvritra7127
@cadellvritra7127 4 күн бұрын
i was plannign this as my admin dashboard crud , and i wanna make an another from for user for buying only and viewing how do i connect it to this frame?
@jimmy967
@jimmy967 6 күн бұрын
keep it up the channel saved me❤
@buturajbaptiste9721
@buturajbaptiste9721 6 күн бұрын
Thanks for giving this knowledge its good design in c#.
@powerbaqhang
@powerbaqhang 6 күн бұрын
this coding can i run using Visual Studio Code?
@1BestCsharpblog
@1BestCsharpblog 6 күн бұрын
yes
@1BestCsharpblog
@1BestCsharpblog 7 күн бұрын
▶▶▶ LEAVE A LIKE FOR MORE PROJECTS 👍👍👍
@user-bi8cl4ev5i
@user-bi8cl4ev5i 8 күн бұрын
It is not for free and why login is required since registering is an option?
@1BestCsharpblog
@1BestCsharpblog 6 күн бұрын
Each user has their own contacts, and new users must register in order to manage their own contacts.
@pragathispragathis7704
@pragathispragathis7704 10 күн бұрын
I am hearing this problem since a week sir please reply sir😢
@pragathispragathis7704
@pragathispragathis7704 10 күн бұрын
Sir please reply sir🙏
@pragathispragathis7704
@pragathispragathis7704 10 күн бұрын
Sir please reply sir🙏🙏🙏🙏🙏🥺
@1BestCsharpblog
@1BestCsharpblog 9 күн бұрын
use the image path to display it in another form (in a jlabel)
@pragathispragathis7704
@pragathispragathis7704 8 күн бұрын
Thank you sir♥️🙇‍♂️
@pragathispragathis7704
@pragathispragathis7704 10 күн бұрын
Same method image view another jframe side please tell me sir🙏🙏🙏🥺
@1BestCsharpblog
@1BestCsharpblog 9 күн бұрын
use the image path to display it in another form (in a jlabel)
@pragathispragathis7704
@pragathispragathis7704 8 күн бұрын
Thank you very much sir♥️🙇‍♂️
@ChandanKumar-lj8go
@ChandanKumar-lj8go 10 күн бұрын
Thanks you 👍
@SmitPatel-jy6qp
@SmitPatel-jy6qp 11 күн бұрын
it is really posible to make web using c++ ??
@chfaizan2520
@chfaizan2520 11 күн бұрын
Where the source code plz provide
@kriss2989
@kriss2989 11 күн бұрын
Gracias
@user-uy1ev2oe7v
@user-uy1ev2oe7v 11 күн бұрын
thank you ,its working, but how to add header ?
@andrabackbone355
@andrabackbone355 12 күн бұрын
Please make tutorial with flutter mysql... Thanks
@pragathispragathis7704
@pragathispragathis7704 12 күн бұрын
It's worked thank you very much sir,i want , how to selected row data in another jframe side view the details with image.... please tell me sir 🥺🙏 please...i need the source code sir.
@1BestCsharpblog
@1BestCsharpblog 9 күн бұрын
use the image path to display it in another form (in a jlabel)
@pragathispragathis7704
@pragathispragathis7704 12 күн бұрын
Sir, this same method, how to image view another jframe side.please tell me sir.
@1BestCsharpblog
@1BestCsharpblog 9 күн бұрын
use the image path to display it in another form (in a jlabel)
@1BestCsharpblog
@1BestCsharpblog 12 күн бұрын
▶Java expense and income tracker project with mysql database: kzbin.info/www/bejne/h2isXnd5qq6nZ7c ▶ Create a Custom CheckBox In Java Swing Using Graphics: kzbin.info/www/bejne/l53OlImLh958rpo
@pj_2362
@pj_2362 13 күн бұрын
Your Work is so wonderful sir. Can you add some features in your system like The system will print the Weekly and monthly Expenses of the user, and other feature.
@streetfoodlovers5736
@streetfoodlovers5736 14 күн бұрын
Why no sound ?
@1BestCsharpblog
@1BestCsharpblog 14 күн бұрын
LEAVE A LIKE FOR MORE PROJECTS👍👍👍
@Shironinja007
@Shironinja007 15 күн бұрын
could u make a tutorial for an language learning system
@Shironinja007
@Shironinja007 15 күн бұрын
this was very informative thank you
@protobelt9001
@protobelt9001 16 күн бұрын
i'm still stuck 55:49 no one display data at datagrid but header showing the firstname, lastname and scores but no records at all per row
@DinoLopez
@DinoLopez 17 күн бұрын
Great video, question would it be possible to have predefined shapes and be able to connect those, including labels that show properties to that particular link? This way can re-use and have multiple shapes linking like a workflow?
@sevincseferova2
@sevincseferova2 17 күн бұрын
Danışanlardan daha açıqlayıcıdır😎👏🏻
@bestmusic501
@bestmusic501 18 күн бұрын
Can i change the connection of the database from mysql to derby in the DB.class
@bestmusic501
@bestmusic501 18 күн бұрын
I try to change the connection in the dbclass it runs but it does to go through the other jframes it just says running
@CosmeMayono
@CosmeMayono 19 күн бұрын
Can i get this for free im really poor and this will help me a lot to my capstone project because my groupmates are not helping me pls sir
@Engineer-Samibress
@Engineer-Samibress 19 күн бұрын
Thanks for your time keep going
@1BestCsharpblog
@1BestCsharpblog 19 күн бұрын
▶▶▶▶LEAVE A LIKE FOR MORE JAVA TUTORIALS 👍👍👍 ▶Java expense and income tracker project with mysql database: kzbin.info/www/bejne/h2isXnd5qq6nZ7c ▶ Create a Custom RadioButton In Java Swing Using Graphics: kzbin.info/www/bejne/a3fIeGmFna-aZ5I
@AnjaliSharma-gb7eb
@AnjaliSharma-gb7eb 19 күн бұрын
good
@abdirizakahmed2121
@abdirizakahmed2121 21 күн бұрын
Good
@abderrahimsolbi2799
@abderrahimsolbi2799 21 күн бұрын
LEAVE A LIKE FOR MORE PROJECTS
@1BestCsharpblog
@1BestCsharpblog 22 күн бұрын
▶ ▶ ▶ LEAVE A LIKE FOR MORE PROJECTS 👍👍👍
@netconfig999
@netconfig999 23 күн бұрын
thanks you for sharing
@SergeFalanka
@SergeFalanka 23 күн бұрын
Merci beaucoup pour cette leçon mais je voulais avoir le code. Donc dès que l'utilisateur choisi le pays dans le listbox ou combobox. Il a les détails suivants dans le textbox différents : capital pays, sa superficie, sa population, religion... Merci
@1BestCsharpblog
@1BestCsharpblog 25 күн бұрын
▶ LEAVE A LIKE FOR MORE PROJECTS 👍👍👍 ▶ Expense tracker project in java with mysql database: kzbin.info/www/bejne/h2isXnd5qq6nZ7c
@sellthingsonline
@sellthingsonline 26 күн бұрын
Amen.
@khanhhuyenkaraoke9538
@khanhhuyenkaraoke9538 26 күн бұрын
Java Project Tutorial - Make Login and Register Form Step by Step Using NetBeans And MySQL Database ,like 584