ABOUT THE VIDEO:
jTables | Java Swing Controls | NetBeans
Showing you how to use jTables in your application developed in Java IDE (Integrated Development Environment).
Simple example to let you understand easily.
----------------------------------------------------------------
IMPORTANT CODING (USED IN THE VIDEO):
//under public class line
DefaultTableModel model;
//under initComponents();
model = (DefaultTableModel)jTable1.getModel();
// add button
model.insertRow(model.getRowCount(), new Object[]{jTextField1.getText(), jTextField2.getText(),jTextField3.getText()});
// preview in text fields from jTable
jTextField1.setText(String.valueOf(model.getValueAt(jTable1.getSelectedRow(), 0)));
jTextField2.setText(String.valueOf(model.getValueAt(jTable1.getSelectedRow(), 1)));
jTextField3.setText(String.valueOf(model.getValueAt(jTable1.getSelectedRow(), 2)));
//editing table:
model.setValueAt(jTextField1.getText(), jTable1.getSelectedRow(), 0);
model.setValueAt(jTextField2.getText(), jTable1.getSelectedRow(), 1);
model.setValueAt(jTextField3.getText(), jTable1.getSelectedRow(), 2);
//removing / deleting row
model.removeRow(jTable1.getSelectedRow());
----------------------------------------------------------------
ABOUT THE CHANNEL:
ARBX CodeX is a programming YouTube channel by ARBX MediaWorks. Giving tutorials of simple programs for professional use. Basically focusing on JAVA (Language).
----------------------------------------------------------------
ALL CHANNELS BY ARBX MediaWorks:
ARBX Endurance (Space):
/ @arbxendurance
ARBX Sensational (Gaming):
/ channel
ARBX CodeX (Programming):
/ @arbxcodexindia
ARBX TechTronics (Tech Tutorials):
/ channel
----------------------------------------------------------------
SOCIAL MEDIAS:
Facebook (CodeX) : / arbxcodex
Instagram (CodeX): / arbxcodex
Twitter (CodeX):
/ arbxcodex
Facebook (ARBX Mediaworks):
/ arbxmediaworks
Instagram (ARBX MediaWorks):
/ arbxmediaworks
Twitter (ARBX MediaWorks):
/ arbxmediaworks
---------------------------------------------------------
Tutorial By : Arpan Bhattacharya
Channel: ARBX CodeX
By:
ARBX MediaWorks
On this page of the site you can watch the video online jTables - create & use - JAVA |NetBeans| ARBX CodeX 2019 with a duration of hours minute second in good quality, which was uploaded by the user Aʀʙx CᴏᴅᴇX 01 January 2019, share the link with friends and acquaintances, this video has already been watched 306 times on youtube and it was liked by 22 viewers. Enjoy your viewing!