wood burning stoves 2.0*
The moose likes Ranch Office and the fly likes Whining:  Font Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Whining:  Font Size" Watch "Whining:  Font Size" New topic
Author

Whining: Font Size

Mark Covert
Greenhorn

Joined: Feb 19, 2001
Posts: 22
Hi all,
Man, I must be getting old. Some of the Font sizes on this site are so tiny that I think I'm going blind!
I checked the font and it looks like its Verdana or Arial, but its so tiny.
Is there any way to increase the font size for the small remarks under the headings and esp. for code that people have pasted???
Mark
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
code is my biggest gripe, too. I'm sure that there must be a way to increase the font size.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
In Netscape do View / Increase Font.
In IE do View / Fonts / Larger (or Largest).


"JavaRanch, where the deer and the Certified play" - David O'Meara
Mark Covert
Greenhorn

Joined: Feb 19, 2001
Posts: 22
Thanks Cindy! You're the coolest! Now I can use the money that I was going to spend on really big glasses to buy the Java Book for the Cattle drive!
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Cindy, that increases all the fonts. What would be nice would be to just increase the font used under the UBB code of [ code ]. That is easily changed in UBB.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I'm not sure what you mean by your last sentence - are you saying that it is easy to change in UBB, or that it would be nice if it were? If the former, I'd appreciate hearing how. I've looked, but haven't found a way to manipulate this using the UBB control panel settings available to sheriffs. I can change the text size for everything, but not for the tiny fixed-width font independent from the regular font. I seem to recall that Paul W was once able to tweak this by hacking the code, but it was a pain and of course his changes vanished when he upgraded.
[This message has been edited by Jim Yingst (edited February 22, 2001).]


"I'm not back." - Bill Harding, Twister
Craig O'Brien
Greenhorn

Joined: Feb 28, 2001
Posts: 21
Hello,
I found a site http://forums.motorweb.ie/ubb/ubbcode.html which also uses UBB. They list a few additional commands at the above page. Is all UBB the same?
Excuse this test but this is multiple ubb commands

and html
<pre>
final String randomPass(int len){
long timeIn = System.currentTimeMillis();
int[] random = new int[len];
int i = 0;
String result = "";

while(i < random.length){
int n = (int)(Math.random() * 122);...
</pre>
Regards,
Craig
Oh well, :0) apparently you can't embed UBB or change the size of pre fonts. Thanks for your patience.
[This message has been edited by Craig O'Brien (edited March 01, 2001).]


Sun Certified Programmer for the Java 2 Platform<br />Senior Software Engineer<br />TechRx
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
If you use this:
< PRE>
< font size=2.5>
< /PRE>
instead of the CODE commands the code is readable (IF HTML is on).
Course you have to take the spaces out that I put in to keep it from executing.
Example:
<PRE>

This is my code.
Isn't it cute!
</PRE>

[This message has been edited by Cindy Glass (edited March 01, 2001).]
Craig O'Brien
Greenhorn

Joined: Feb 28, 2001
Posts: 21
Thanks Cindy, that is cute code. You guys are great!
<PRE>

final String randomPass(int len){
long timeIn = System.currentTimeMillis();
int[] random = new int[len];
int i = 0;
String result = "";

while(i < random.length){
int n = (int)(Math.random() * 122);

if (!(n < 49) && (!((n >= 58) && (n <= 64))) && (!((n >= 91) && (n <= 96)))){
random[i] = n;
i++;
}
}
for(int j = 0; j < random.length; j++){
result += (char)random[j];
}
timeOut = System.currentTimeMillis();
random = null;
System.out.println("Processing time: " + (timeOut - timeIn) + " milliseconds\n");
return result;
}
</PRE>
Now us guys with glasses don't have to get so close to the monitor. :0)
Please comment on the complete code over here http://www.javaranch.com/ubb/Forum34/HTML/000620.html Use it if you like it.
Craig
PS I don't abuse html.

[This message has been edited by Craig O'Brien (edited March 01, 2001).]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
But it only works in forums that allow html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Whining: Font Size
 
Similar Threads
Cindy joins the exclusive "1000" club
Cattle Drive Hall of Fame
Leafs sweep Sens ...
GridBagLayout
When is an anonymous inner class NOT an inner class? Always?