SkyDrive SkyDrive - 20 days ago 7
Java Question

GridView in Java

I'm a .Net Developer and new to Java environment. I'm currently I'm using Netbeans 7.1. In Windows Forms there are

DatagridView
,
ListBox
, and
ListView
. What are the equivalent controls present in Swing, specifically
DatagridView
? How can I bind those grid in
ResultSet
?

Suggested links for tutorial are very much appreciated.

Answer

This page describes the component list available in Swing. For GridView you can choose JTable.


Also if you are willing to use SwingX, then there you will find, JXTable, JXTreeTable.

Comments