The Artima Developer Community
Sponsored Link

Java Buzz Forum
ClientJava.com Links(8) - MetaVNC, UltraSwing Component Library, Alternating row colors in JTable

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Delap

Posts: 1154
Nickname: scottdelap
Registered: Sep, 2004

Client / Server application developer.
ClientJava.com Links(8) - MetaVNC, UltraSwing Component Library, Alternating row colors in JTable Posted: Sep 27, 2004 8:49 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Scott Delap.
Original Post: ClientJava.com Links(8) - MetaVNC, UltraSwing Component Library, Alternating row colors in JTable
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
Latest Java Buzz Posts
Latest Java Buzz Posts by Scott Delap
Latest Posts From ClientJava.com

Advertisement

Viewing HTML pages with SWT Browser widget
This article explains how to add HTML viewing capability to an SWT application. The Browser widget provides an easy way to integrate rich HTML content into your application.

Ask TheServerSide: Is serverside more organized than clientside?
Continuation of my blog post and JavaLobby thread.

Swing: Document and Text Fields could be better.
Excerpt:
I've spent a LOT more time than I should have needed to figuring this stuff out.

I'm trying to restrict the input characters that the user types into a field (JTextField, JComboBox, JSpinner) so that they can't type "abacus" into a field that only takes numbers, for example.

On a JTextField, you can set the Document object to your own custom implementation to control what actually goes into the text field...

Thinlet XUL Titan Interview - Dawid Weiss - Part I

MetaVNC - a window aware VNC
MetaVNC pursues a remote desktop environment that users can control applications on different hosts seamlessly. MetaVNC is a window aware VNC. MetaVNC merges windows of multiple remote desktops into a single desktop screen. MetaVNC also comes with its own task bar and application menu, which makes it easy to control applications or windows on different hosts.

UltraSwing Component Library
UltraSwing is a 100% Swing-based Java GUI library. It provides easy-to-use components that allow you to create polished, modern GUI applications. With this library, you can easily add advanced features, such as docking/floating, Outlook type side menu, to your GUI projects.

JTableView
is is a java swing gui component extends JTable who provide additional services: column hide, search, sort, auto resize column, save settings in xml file, better object oriented model than JTable.

Alternating row colors in JTable
This is a good example of a Swing problem that is hard to easily solve.

Excerpt:
If you look at iTunes, the rows in the table are striped, and the stripes fill the whole table area even when there isn't enough data to fill the table.

If you look at a Java application on Mac OS, there are no row stripes in its tables.

You can add your own cell renderer to a JTable to get stripes. The cell renderer sets the row background based on the row number modulo 2. This is a well-known technique. The trouble with this implementation is that if the model doesn't contain enough rows to fill the table's area, there's no reason for the cell renderer to be called on the implied empty rows...

Read: ClientJava.com Links(8) - MetaVNC, UltraSwing Component Library, Alternating row colors in JTable

Topic: RE: JUnit, Test your behavior not methods Previous Topic   Next Topic Topic: Snap Into a Slim Jim!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use