Re: Drawing line on ImageIcon on panel after getting data
bH wrote:
...
"Text Width Checker"
...
Is there any way to freeze that number to 60 so that the
reuse of it can be less of a hastle?
Good question. I will soon be launching it using
the WebStartFrame I am developing, so I'll look
to upgrade it to store the tool bar options then.
'Stay posted' (or rather, the program will change on
your computer, the time after it is launched after the
code is changed on the server - all automatic).
Checking the tab key function, it is set for 4
and indents 8 and a press of the replace tabs button
moves the indent back to 4. Is that the way it is supposed
to be?
Yes. Originally. I wanted to show how any tabs introduced
into the document do not equal "what is set" in the replace
choice. I would like the document to visually change when
the text contains any tabs, and the replace button is activated.
I am mot quite sure how to enact it well.
I would prefer to pop a 'replace tabs' warning dialog if they are
ever there, but perhaps I should just set the default tab size of
the text area to some ridiculous value like ..37 characters.
Considering the matter of code indenting (beautifying)
where do you want the matter of long URL addresses to
be broken.
I'd say when the entire line length (after tab replacement)
goes beyond '62', but that is a 'safe' figure I largely plucked
out of the air. A lot of people claim 67, or even 72 is OK
for usenet posts, but I like to keep 'a couple of characters
spare' for later quoting (and thereby indentation).
If you break URLs the way Jeff did, people might
helpfully suggest things like StringBuffer's and the
evils of String addition. Explain, calmly, that this
was a hack useful for making an SSCCE, as opposed
to 'well engineered code' (which is a different thing).
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-setup/200711/1