JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Java Essentials
>>
Java Programming
Hi, I am wondering.....
Hi,I am wondering how to generate a random character (only lower case ) (between a and z).Thanks in advance
[135 byte] By [
Ace1a
] at [2007-11-27 6:17:33]
««
Upload my MIDlet.
»»
Which frameWork is best for Doing ErrorHandling
# 1
Use the random class and find the character codes for letters a-z (lower case)Then generate random numbers in that *zone*
lethalwirea
at 2007-7-12 17:30:31 >
# 2
Some food for thought.System.out.println((char)97);
floundera
at 2007-7-12 17:30:31 >
# 3
public char nextChar(){int index=Math.abs(ran.nextInt())%97char nextchar='';if(index>64){nextchar=(char)index;} return nextchar;}
JL.Nayaka
at 2007-7-12 17:30:31 >
# 4
Ouch, that's a horrible piece of code.char c = 'a' + rnd.nextInt((int)('z'-'a'));
-Kayaman-a
at 2007-7-12 17:30:31 >
Java Essentials
how to I keep recalling the program?
Calling a Constructor...?
open file from another soft ware
can anyone make my program short? tnx
clickable text
Accessors/Mutators needed ?
Downloadable resources
JDialog
install java jse please help
My first JPanel ...
Java Programming
executible
configar tomcat in Net Bean(5.5) IDE
Accessing Parallel Port (LPT1)
Query.....
Why is this ObjectInputStream constructor blocking?
Can we convert a java file into .exe format when clicked to be like GUI
How to copy the C drive content into D drive contents using JAVA
Using JDIC to open web browser
how to access MySQL using java properties
when using java.sql classes
Java Essentials New Topic
executible
how to I keep recalling the program?
configar tomcat in Net Bean(5.5) IDE
Can we convert a java file into .exe format when clicked to be like GUI
how to access MySQL using java properties
how to decide ByteBuffer size created for SocketChannel.read(ByteBuffer)
Interfacing with attached peripherals
[urgent]Using parport with JAR build doesn't work, but works in IDE
Java Essentials Hot Topic
Accessing Parallel Port (LPT1)
Why is this ObjectInputStream constructor blocking?
How to copy the C drive content into D drive contents using JAVA
Using JDIC to open web browser
Calling a Constructor...?
can anyone make my program short? tnx
when using java.sql classes
How to delay an Action
Java Essentials
Java Programming
New To Java
Training
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding