Bar code generation in java ...

A

amit.ashu.nir

Hi all I am new to the language and want to learn that how can one
generate barcode's in java... Please help me out..

Thanx Amit
 
N

NullBock

import java.util.*;

class BarCodes {
Map codes = new HashMap();

public BarCodes() {
codes.put("whiskey sour", "ws");
codes.put("gin and tonic", "gt");
codes.put("white russian", "wr");
//and so on
}

public String getCode(String which) {
return (String) codes.get(which);
}
}

:p

Walter Gildersleeve
Freiburg, Germany

______________________________________________________
http://linkfrog.net
URL Shortening
Free and easy, small and green.
 
U

Ugo Matrangolo

Hi Amit,

there is an interesting feature in a lib that I used recently to
generate PDF from jsp documents.

It is the Bforeport package. It contains some functionality to generate
barcodes.

Google it for more informations or try
http://big.faceless.org/products/report

Best wishes,
ugo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,252
Latest member
MeredithPl

Latest Threads

Top