I have now found where it was used, and my apologies for that mistake.Chrys Karl wrote:. . . . However, the table T was used and I do not understand exactly what it does because I went on a program found on the internet.
It is a method in the JPanel class. (Actually JComponent class.). . . What you mean by paintComponent()?
So why does CodeBarre extend JApplet? Is that simply because that is what they used on the other website?I used JFrame in my CodeBarre class. Please refer the code source. . . .
Afraid not. Forget about entry of data, and about Scanners. Create a barcode class which takes the numbers ready‑made as constructor parameters. I think you will have to create a temporary barcode tester class like this:-You will have to override the toString method in order to get that to work. Make it display something like "BarCode:1234567890123".Chrys Karl wrote:. . . Could I contemplate conversion right now?. . .
Note those entries don't all have 13 characters.java BarCodeTester 1234567890123 0987654321987 56789320928374 987654324567 abcdefghijklm etc
Thank youChrys Karl wrote:Hello Campbell,
Happy New Year, I wish you all the best for this new year. Success in all your businesses.
Don't know. You can pass absolutely anything to System.out.println() without problems, as long as you haven't managed to close System.out. Please tell us more details about the errors, then we can work out what is going wrong.. . . But I have errors while keeping your line of code. : "System.out.println(new BarCode("1234567890123"));". Where is the problem? . . .