Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is JTable and what is its purpose?

Answers were Sorted based on User's Feedback



What is JTable and what is its purpose?..

Answer / sathiq

JTable is a Swing Componenet which is used to show the datas
in table format. It contains many custom models

Is This Answer Correct ?    78 Yes 9 No

What is JTable and what is its purpose?..

Answer / p.sakthivel

We can make it like spreadsheet and we can modify the
cells for JTextField, JCheckBox , JComboBox etc., by using
TableCellEditor.

To design an input dialog for Student database
we can make it by simple table by using JTable and
TableModel no need to design dialog with JButton and
JLabels with Layout

Is This Answer Correct ?    44 Yes 7 No

What is JTable and what is its purpose?..

Answer / shrikrishna kashid

With the JTable class you can display tables of data,
optionally allowing the user to edit the data. JTable does
not contain or cache data; it is simply a view of your data.

Is This Answer Correct ?    15 Yes 12 No

What is JTable and what is its purpose?..

Answer / narmada

The JTable is used to display and edit regular two-dimensional tables of cells.

The JTable has many facilities that make it possible to customize its rendering and editing but provides defaults for these features so that simple tables can be set up easily. For example, to set up a table with 10 rows and 10 columns of numbers:

TableModel dataModel = new AbstractTableModel() {
public int getColumnCount() { return 10; }
public int getRowCount() { return 10;}
public Object getValueAt(int row, int col) { return new Integer(row*col); }
};
JTable table = new JTable(dataModel);
JScrollPane scrollpane = new JScrollPane(table);

Is This Answer Correct ?    10 Yes 9 No

Post New Answer

More Swing Interview Questions

what do u mean by GUI framework

1 Answers  


How to create a swing gui in java?

0 Answers  


Why swing components are called lightweight components?

0 Answers  


Which method is used by the applet to recognize the height and width?

0 Answers  


What is double buffering ?

0 Answers  


Which containers use a border Layout as their default layout in swing?

0 Answers  


What are the differences between Swing and AWT?

0 Answers  


What is the what is the difference between invokeandwait() and invokelater()? ?

0 Answers  


What's java swing?

0 Answers  


What are the benefits of swing over awt?

0 Answers  


What is the difference between invokeAndWait() and invokeLater()?

0 Answers  


What is the difference between AWT and Swing ?

1 Answers   TCS,


Categories