Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3680
| From | "ameyas7" <ameyas7@THRWHITE.remove-dii-this> |
|---|---|
| Subject | character issues in read- |
| Message-ID | <33c4339b-03ca-402e-8b95-e183b4be260e@u6g2000prc.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:46 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui hi i am using a JTextArea for displaying multi-line text. the component has been set to read only and background color adjusted so it appears more like a label. i am adding this component to container with gridbaglayout and it has been given HORIZONTAL fill and weightx as 1.0 so space is not a constraint for the component as a whole. the issue is i find some part of first character being chopped off. for instance if the first character is 'W' then its slightly chopped at the top-left corner. however for characters like 'T' it doesnt show any issues (since width of 'T' is smaller than 'W'). however the problem is only with the first character, that also which are relatively wider in size. has anybody experienced this behavior before and how to resolve it. thanks. regards, amey --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Next in thread | Find similar | Unroll thread
character issues in read- "ameyas7" <ameyas7@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000 Re: character issues in r "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000
csiph-web