Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18997
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Mapping of JTable rows and columns onto frame object |
| Date | 2012-09-30 14:54 -0400 |
| Organization | The Wasteland |
| Message-ID | <nospam-0036E3.14545630092012@news.aioe.org> (permalink) |
| References | <8c11ba4d-3924-443e-ab5d-5f655380965d@googlegroups.com> |
In article <8c11ba4d-3924-443e-ab5d-5f655380965d@googlegroups.com>, keto <ajay.partoti@gmail.com> wrote: > I am using Java Graphics api. Like to map my JTable rows and columns onto the > canvas with exact dimensions. I tried using jTable.getCellRect() api to get > the width, height of a cell and map it on the panel using graphics object. > But it gives me the incorrect dimensions. Following is the sample code. > [...] > Please help to redraw a JTable cell row and height on JPanel. Cross-posted here: <http://stackoverflow.com/a/12663970/230513> -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll 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