Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Bar code generation in java ...

Thread view: 
amit.ashu.nir@gmail.com - 11 Jan 2006 06:56 GMT
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
NullBock - 11 Jan 2006 07:41 GMT
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.
Roedy Green - 11 Jan 2006 07:46 GMT
On 10 Jan 2006 22:56:12 -0800, "amit.ashu.nir@gmail.com"
<amit.ashu.nir@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>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..

see http://mindprod.com/jgloss/barcodes.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Ugo Matrangolo - 11 Jan 2006 08:20 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.