Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18996

Re: Mapping of JTable rows and columns onto frame object

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Mapping of JTable rows and columns onto frame object
Date 2012-09-30 11:44 -0700
Organization Canadian Mind Products
Message-ID <dm4h68lluump3rmntlpebiav593bc7gjpk@4ax.com> (permalink)
References <8c11ba4d-3924-443e-ab5d-5f655380965d@googlegroups.com>

Show all headers | View raw


On Sat, 29 Sep 2012 20:50:01 -0700 (PDT), keto
<ajay.partoti@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>I am using Java Graphics api. Like to map my JTable rows and columns onto t=
>he canvas with exact dimensions

This is not recommended. The problem is on different platforms the
fonts have different metrics.  You have to dynamically adjust. That is
what layouts do.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The iPhone 5 is a low end Rolex. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Mapping of JTable rows and columns onto frame object keto <ajay.partoti@gmail.com> - 2012-09-29 20:50 -0700
  Re: Mapping of JTable rows and columns onto frame object Roedy Green <see_website@mindprod.com.invalid> - 2012-09-30 11:44 -0700
  Re: Mapping of JTable rows and columns onto frame object "John B. Matthews" <nospam@nospam.invalid> - 2012-09-30 14:54 -0400

csiph-web