Java Project Tutorial - How to Create a Custom Table and Scrollbars Using Graphics In Java NetBeans

Published 2024-05-14
Custom Table with Scrollable Rows Design In Java NetBeans

▶ Get The Source Code: 1bestcsharp.blogspot.com/2024/05/java-custom-table…

▶ Get All Java Projects Source Code: bit.ly/JavaProjectsBundle

[[[[[[[[[[[[[[[[[[[[ Check out my Java Projects! ]]]]]]]]]]]]]]]]]]]]

▶ Inventory Management System - 1bestcsharp.blogspot.com/2018/05/java-inventory-sy…

▶ Java Project For Beginners -    • Java Project For Beginners Step By St...  

▶ Students Information System - 1bestcsharp.blogspot.com/2017/08/java-student-info…

▶ Contacts Management System - 1bestcsharp.blogspot.com/2017/11/java-contact-info…

▶ Hotel Management System - 1bestcsharp.blogspot.com/2019/06/java-hotel-manage…

▶ Real Estate Management System - 1bestcsharp.blogspot.com/2020/02/java-real-estate-…

▶ Library Management System - 1bestcsharp.blogspot.com/2020/05/java-library-mana…

▶ Car Rental Management System - 1bestcsharp.blogspot.com/2023/03/java-car-rental-m…

▶ Download All My Java Projects Source Code: bit.ly/JavaProjectsBundle

▶ All My Programming Projects Here - bit.ly/2HrU8hK

▶ My Source Code Store Here - bit.ly/2OsC0TU

[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ JAVA Products ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

▶ Download All Java Projects Source Code - bit.ly/JavaProjectsBundle

[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ Project Description ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

In this Java Tutorial we will see How To Create a Custom Table With a Modern Design and alternating row colors and Custom Scrollbar Using Graphics and Graphics2D In Netbeans.

In the second table we will be creating a custom table with data fetched from a MySQL database.

What We Will Use To Build This Project ? :
- Java Programming Language.
- NetBeans Editor.

Java Swing Components We Will Use In This Java Tutorial:
- JFrame.
- JPanel.
- JButton.
- JScrollBar.
- JScrollPane.
- BasicScrollBarUI.


What We Will Do In This Project ? :
- Use Graphics2D object to draw table headers and rows with alternating row colors.
- Create a custom scrollbar UI (ModernScrollBarUI) for the vertical scrollbar.
- The application fetches data from a MySQL database table named "product" and displays it in a customized table format.
- Connects to a MySQL database using JDBC, executes a SELECT query on the "product" table.
- Retrieve data from a MySQL database table and display it in a customized table.


[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ TABLE OF CONTENT ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

00:00:00 The Project Overview
00:01:00 Create The Project File
00:01:50 Create and Design The Form
00:06:15 Create a TableRow class.
00:10:20 Create a TablePanel class that extends JPanel and is responsible for drawing the table.
00:12:50 Method to draw table.
00:26:25 Create a Custom BasicScrollBarUI to customize the appearance of the scrollbar.
00:53:40 Create another custom table with different colors.
00:56:50 Create another custom table to display data from mysql database.
01:01:05 Create a function to fetch data from mysql database.

[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ JAVA Tutorials ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

▶ Java Login and Register Form - bit.ly/Java_Login

▶ Java Calculator In Netbeans - bit.ly/Java_Calculator

▶ Java Tic Tac Toe Game - bit.ly/Java_TicTacToe

▶ Java JTree Tutorial - bit.ly/Java_JTree_Tutorial

▶ Java and MySQL Tutorials Using Netbeans - bit.ly/Java_Mysql

▶ Java Gui Tutorial For Beginners - bit.ly/Java_Gui

▶ Java JTable Tutorial - bit.ly/JAVA_JTable_Tutorial

▶ Create a Project In Java With MySQL - bit.ly/Java_Mysql_Project


------------------------- JAVA COURSE ----------------------------

▶ master Java core development step-by-step - bit.ly/2HXSuAn

--------------------------------------------------------------------


visit our blog 1bestcsharp.blogspot.com/

facebook: www.facebook.com/1BestCsharp

twitter: www.twitter.com/1BestCsharp_

subscribe: goo.gl/nRjPKk

programming projects with source code:
1bestcsharp.blogspot.com/p/programming-projects.ht…

C# And Java Programming Books
1bestcsharp.blogspot.com/2015/04/c-and-java-progra…


share this video:    • Java Project Tutorial - How to Create...  

All Comments (3)
  • @sulevanG
    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?