RE: java swing

  • From: "Sina Bahram" <sbahram@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sat, 5 Apr 2008 13:05:37 -0400

I don't have the exact answer for you, but I'm almost positive that if you
pull up the javadoc on JComponent or something in those lines, that there is
like an overflow or text obfuscated or some other flag that you can check.

But, the thing I was going to mention is, please study up on layout
managers, because you mentioned that your components might not be laid out
properly, and layout managers make this so amazingly easy.

Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Sérgio Neves
Sent: Saturday, April 05, 2008 12:30 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: java swing

Hi,
I'm programming with java swing package.
What is the best way to know if a text fits into a label, button, etc... or
not?
My friend says that on eclipse's visual editor, it appears three periods
(...) to know that the text doesn't fit into the component, but I think java
access bridge gives the complete text, so I don't see the three periods.
My friend told me: "I don't see any text on the radio buttons". And I said: 
"But I see it, you're playing with me!". But the text didn't appear because
the buttons are very short..
Thus, the interface is useable to me but not to others, lol. But I'd like to
make interfaces that, although the controls are not well positioned, they
are visible to sighted people. Is it possible?

Any help is greatly apreciated

Best regards

Sérgio Neves
P.s: I've tried to move the components in the same way as sighted people do,
but I think it's not accessible. But I don't know how to explain it in a bug
for this.. I'm using visual editor 1.2 because the latest is in development.


__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts: