- 49
- 290 858
Programming of Life
Sri Lanka
เข้าร่วมเมื่อ 3 ก.ย. 2020
Welcome to Programming of Life - your go-to channel for mastering the art of programming! Whether you're a seasoned developer or just starting out, our channel offers a wealth of knowledge to help you navigate the fascinating world of coding.
What You’ll Find on This Channel:
Java Programming: Dive deep into Java with tutorials covering everything from basics to advanced topics, including multithreading, concurrency, data structures, and more. Perfect for those looking to build robust, high-performance applications.
PHP Programming: Learn how to create dynamic web applications with PHP. Our videos cover a range of topics, from simple scripting to complex web development concepts, ensuring you can build interactive and responsive websites.
C# Programming: Discover the power of C# with our comprehensive guides. We explore everything from basic syntax to advanced features like LINQ, async programming, and .NET development, helping you create efficient and modern applications.
What You’ll Find on This Channel:
Java Programming: Dive deep into Java with tutorials covering everything from basics to advanced topics, including multithreading, concurrency, data structures, and more. Perfect for those looking to build robust, high-performance applications.
PHP Programming: Learn how to create dynamic web applications with PHP. Our videos cover a range of topics, from simple scripting to complex web development concepts, ensuring you can build interactive and responsive websites.
C# Programming: Discover the power of C# with our comprehensive guides. We explore everything from basic syntax to advanced features like LINQ, async programming, and .NET development, helping you create efficient and modern applications.
Draw Line in Java | Graphics2D | Line2D
Draw Line in Java | Graphics2D | Line2D
This Graphics2D class extends the Graphics class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout. This is the fundamental class for rendering 2-dimensional shapes, text and images on the Java(tm) platform.
This Graphics2D class extends the Graphics class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout. This is the fundamental class for rendering 2-dimensional shapes, text and images on the Java(tm) platform.
มุมมอง: 4 558
วีดีโอ
How to get JTable selected row data in Java
มุมมอง 6K3 ปีที่แล้ว
How to get JTable selected row data in Java
How to add Placeholder text in JTextField and JPasswordField in Java | NetBeans
มุมมอง 23K3 ปีที่แล้ว
How to add Placeholder text in JTextField and JPasswordField in Java
JTextField Change Border Color | Java | NetBeans
มุมมอง 4.2K3 ปีที่แล้ว
JTextField Change Border Color
Display Data From MySql Database into JTable in Java | NetBeans
มุมมอง 31K3 ปีที่แล้ว
Display Data From MySql Database into JTable in Java | NetBeans
Custom Spinner in Android Studio | Java
มุมมอง 1.5K3 ปีที่แล้ว
Custom Spinner in Android Studio | Java
Java JCheckBox in NetBeans | ActionListener | Multiline JLabel
มุมมอง 3.9K3 ปีที่แล้ว
Java JCheckBox with ActionListener and handle Checkboxes in Button Click event. How to get Selected CheckBoxes and Display in multiline label.
Spinner in Android | Android Studio | Java
มุมมอง 3.8K3 ปีที่แล้ว
Spinner in Android | Android Studio | Java. OnItemSelectedListener and OnClickListener events.
Java Text Moving Animation | JLabel | NetBeans
มุมมอง 10K3 ปีที่แล้ว
Java Text Moving Animation | JLabel | NetBeans.
Java Convert JTextField String To int and double
มุมมอง 10K3 ปีที่แล้ว
Java Convert JTextField String To int and double. We can convert String to an int in java using Integer.parseInt() method. We can convert String to double in java using Double.parseDouble() method.
Java Animation Of Moving Objects | Netbeans
มุมมอง 21K3 ปีที่แล้ว
Java Animation Of Moving Objects | Netbeans
PHP Multiple Selected Values From List Box And Keep The Values After Submitting Form
มุมมอง 8453 ปีที่แล้ว
PHP Multiple Selected Values From List Box And Keep The Values After Submitting Form
Java Open New Window On Button Click | NetBeans
มุมมอง 10K3 ปีที่แล้ว
Java Open New Window On Button Click | NetBeans
Java Graphics Draw on JPanel | NetBeans
มุมมอง 16K3 ปีที่แล้ว
Java Graphics Draw on JPanel | NetBeans
PHP Keep Dropdown Value After Form Submit
มุมมอง 8K3 ปีที่แล้ว
PHP Keep Dropdown Value After Form Submit
PHP Get Values of Multiple Checkbox and Keep Checkbox Checked After Submitting Form
มุมมอง 7K3 ปีที่แล้ว
PHP Get Values of Multiple Checkbox and Keep Checkbox Checked After Submitting Form
Java for and forEach Loops to Iterate Through Arrays
มุมมอง 7583 ปีที่แล้ว
Java for and forEach Loops to Iterate Through Arrays
JDesktopPane and JInternalFrame | NetBeans
มุมมอง 14K3 ปีที่แล้ว
JDesktopPane and JInternalFrame | NetBeans
Pass Data Between Activities in Android
มุมมอง 5493 ปีที่แล้ว
Pass Data Between Activities in Android
How to Open New Activity With Button Click in Android Studio | Java | Android
มุมมอง 5353 ปีที่แล้ว
How to Open New Activity With Button Click in Android Studio | Java | Android
Generate Random Letters of Alphabet | Java
มุมมอง 1.2K3 ปีที่แล้ว
Generate Random Letters of Alphabet | Java
Highlight Text in JTextArea | Java | NetBeans
มุมมอง 4.3K3 ปีที่แล้ว
Highlight Text in JTextArea | Java | NetBeans
Without button
Javascript
Yes
you can use onchange javascript event
<?php // Check if a value is set and store it. if (isset($_POST['dropdown'])) { $selectedValue = $_POST['dropdown']; $_SESSION['selectedValue'] = $selectedValue; } else { // Default value if none is selected yet. $selectedValue = isset($_SESSION['selectedValue']) ? $_SESSION['selectedValue'] : ''; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>PHP Keep Dropdown Selected Value</title> </head> <body> <!-- Dropdown Form --> <form method="POST" id="dropdownForm"> <label for="dropdown">Select an option:</label> <select name="dropdown" id="dropdown" onchange="this.form.submit()"> <option value="option1" <?php if ($selectedValue === 'option1') echo 'selected'; ?>>Option 1</option> <option value="option2" <?php if ($selectedValue === 'option2') echo 'selected'; ?>>Option 2</option> </select> </form> <!-- Display the selected value --> <p>Selected Value: <?php echo htmlspecialchars($selectedValue); ?></p> </body> </html>
Thank you so much for this tutorial, I was really upset until I realized the kind of event that I was puttin' was wrong, l I found out my mistake and I programmed the same code with Switch. private void formKeyPressed(java.awt.event.KeyEvent evt) { int x=label.getX(); int y=label.getY(); switch (evt.getKeyCode()) { case KeyEvent.VK_LEFT: label.setLocation(x - 5, y); break; case KeyEvent.VK_RIGHT: label.setLocation(x + 5, y); break; case KeyEvent.VK_UP: label.setLocation(x, y - 5); break; case KeyEvent.VK_DOWN: label.setLocation(x, y + 5); break; default: break; } }
You are welcome
Thank You Bro 💕💕
Welcome 😊
thanks brother
very helpful, thanks a lot my king
Happy to help
You are superb ❤😊
I found it, Thank you so much
You're welcome!
Sorry but I have a question when i get a date from database it says cannot format given object as a number, so what should i do ? 😢
You need to convert value into the appropriate data type.
text pa foks ki g ya bhai screen me text sahi nahi dekhai da rahi he so pleace make a great video with voice thanks🥰🥰😇😇
🙂🙂
Respect from brazil
Man, this was so useful, it worked perfectly! THANK YOU
You're welcome!
hope you can reply but i am a begginer in netbeans What category and file type did you use?]
Can you explain what you really want to know?
@@programmingoflife2267 I just installed net beans and when I open file type it’s making me choose categories and what file type
@@programmingoflife2267 can I email you? It’s for a school exam and my teacher is making me do a similar assignment to this video
@@programmingoflife2267i i opened netbeans and i clicked new file and its making me choose what file type
thank you very much!
You're welcome!
bro in this line DefaultTableModel model = (DefaultTableModel)emp.getModel(); its showing me to create a class called emp what should i put there tblemployee is not working i tried the table name as well as database name
How do I design the input Box???
thank you
I'm getting output as "on" . Not getting an appropriate value which i mentioned in the code Pls guide me
Thanks man, nice work !!
Glad it helped!
Send me the source code
Sure, I ll send you the source code
thank u dawgs
thank you soo much, very helpful, if it only has a voice it would be much better, keep going man
Thanks, will do!
hi, can u send me the source code?
sure.
U ARE THE BESSSSSSSSSSSSST 🥰🥰🥰🥰
❤️
OMG THAK YOU BRO I LOVE U U SAVED ME
obrigado amigo voce me ajudou a estudar pra prova do meu professor filho da puta arrombado do caralho obrigado amigo te amo!!
OBRIGADO MEU CARO
❤️
Can't we set it using background property of JFrame
Thank you 🙏❤
🙂
haleluuuuuyaaaaaaaaaaaa God is Good amen nw esti amen dude insane video
Thanks
fuckkkkkkkkkkkkkkkkkkk this helped a lot
🙂
How do you add image instead of colour
I no longer have errors but it still shows the text without a placeholder
If you follow all the steps, it should work fine
ty bro, everything i needed
i have a question... it doesn't work on my jLabel1 but for some reason it works on jTextField1.. how to fix that?
It's supposed to work on jLabel, too.
yeah but it doesn't... Is there a way to fix that
Without looking at it, it is very difficult for me to tell
Thank you so much! God bless you!
🙂
Thank you very much ❤❤😭😭😭😭😭😭😭
🙂❤️
can anyone elaborate the while loop functioning in this code??
thank you. God bless you.
😊
thank you!
You're welcome!
exactly what i was looking for thank you!
Glad I could help!
you're very helpful thank you!!
You are so welcome!
Nice Thanks bro
What is the laravel version you are using? Because I am getting error saying "undefined color_list"
Color_list[] is the CheckBoxes name
Thank you sooooooo much .. <?php echo " love you <3" ?>
can you change border thickness?
Yes
@@programmingoflife2267 can you teach me how
@@mai-xf5tn You can change the border thickness using Java code. Include this code in the JFrame constructor method in the code editor. create a border using java BorderFactory classs : Border border = BorderFactory.createLineBorder(Color.BLUE, 3); refer your JTextField name and call setBorder() method: JTextField.setBorder(border);
Can we make the components inside this JFrame less transparent? I want to create a frame with a transparent background but clear labels inside it.
Yes
Saved me! Thank you!
Hi!, I get the error Cannot invoke "javax.swing.JTextField.getFont()" because "textField" is null when running the method
Check your JTextField names. You need to refer them.
Muchísimas gracias, necesitaba exponer un color específico.
Man, it helped me a lot, thanku!
🙂