32,199 Topics

Member Avatar for
Member Avatar for sj5536

hi can any one suggests me how to read barcode from pdf file in java is there any library . thanks in advance actully i serached on net for that i found some library such as apose barcode reader but it is not freeware and i also found JBarcode library …

0
69
Member Avatar for sj5536

hi i want to read barcode from pdf file. that pdf file has more than one barcode i have to read second barcode then what i do for that

Member Avatar for sj5536
0
216
Member Avatar for sumprit

Sir, i am in a trouble and i need some suggestion from you. I have used a sql query and have successfully showed the results in a JTable from the database. Now, what i needed is that after clicking a JButton which in a JPanel i need to show different …

0
57
Member Avatar for cretaros

i have tried adding scrollpanes to the Textare but to no avail it cant Appear. i have initialised some text and added it ot the Textarea bt it dosent work. Help me solve it lifesavers! [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.lang.Object.*; import javax.swing.border.*; import java.awt.Toolkit; …

0
57
Member Avatar for terexberd

which of the following statements is true about casting a) you must cast to convert from an interface type to a class type. b) you must cast to convert from a class type to an interface type. c) you cannot cast to convert an interface type to a class type. …

Member Avatar for terexberd
0
95
Member Avatar for plasticfood

ok i have this assignment which i'm just having problems with the iterator part of it. from the [B]ListType [/B]class, this is what i wrote: [CODE] public Iterator iterator(){ return new OrderedStringListTypeIterator(list); } [/CODE] this code is from the textbook which idk how they got theirs to work, but... [CODE]import …

0
68
Member Avatar for loveu

how to fix the errors? [CODE]package app.util; import java.io.*; import java.util.ArrayList; import java.util.List; import app.obj.Book; public class BookDatabaseReader { public BookDatabaseReader() { bookDatabase = new File("C:"+File.separator+"User"+File.separator+"Marissa"+File.separator+"Desktop"+File.separator+"eto na"+File.separator+"dat"+File.separator+"bookdb.txt"); } public List<Book> getAllBooks() { List<Book> bookList; bookList = new ArrayList<Book>(); BufferedReader reader = null; reader = new BufferedReader(new FileReader(bookDatabase)); for(String str = …

Member Avatar for sirlink99
0
800
Member Avatar for lacoffo

Hello everyone :) I'm learning Java and I'm creating a pong game. There is something I don't understand how to do though. It's how do I make it so that when a button in one panel is pushed, it calls a method in another panel. Let me quickly explain the …

Member Avatar for lacoffo
0
836
Member Avatar for da10x

Hello, for this assignment, we have to imitate SW Airline's boarding process. I think I have everything working so far, except for the fact that my program ignores every Passenger entered into the queue except the first one. It's almost as if it bypasses the if statement asking if the …

Member Avatar for da10x
0
427
Member Avatar for kubiak

What a project i must create if i want do some gui´s windows, and put the code after select item, i do graphical sudoku with difficulty. Can someone write me the way, i would like to start with graphic window and after that code and get the code to the …

Member Avatar for kubiak
0
52
Member Avatar for Taimoor Rana

Hello guys, I've been surfing the web for hours and trying different published codes to make a [B]stopwatch[/B] work but had no luck so far so I had to come here hoping someone can guide me or refer me to a tutorial on how to make one. [B]The stopwatch is …

Member Avatar for sirlink99
0
97
Member Avatar for Amillia89

Hai!!! I have a class, Search Class...this class suppose to search the data from the MySQL db...on top of the JFrame, should have two JMenu bar button which is call About Us and Help...the problem is, if you run this code, the JMenu Bar doesn't appear on top of the …

Member Avatar for Amillia89
0
84
Member Avatar for arshi9464

I WAS JUST EXPERIMENTING SOMETHING. AFTER COMPILING THIS I GOT THE ERROR: "<identifier>expected x=1;" i have got this error many times, but don't know why this occurs and also i have made the object of the class dabba in the dabba class's main method, is it wise thing to do?????? …

Member Avatar for arshi9464
0
105
Member Avatar for hao90

[CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class SwingAnimation{ Thread th; ImageIcon images; JFrame frame; JLabel lbl; int i = 0; int j; public static void main(String[] args){ SwingAnimation sa = new SwingAnimation(); } public SwingAnimation(){ frame = new JFrame("Animation Frame"); th = new Thread(); lbl = new JLabel(); Panel …

Member Avatar for JamesCherrill
0
120
Member Avatar for JPramod

Hi, This is just a thought. So please don't get mad at me and please don't waste much time over this either. Just wanted to share something that occurred to me. Now I've done a bit of java and a bit of C. Now what I want to do is …

Member Avatar for JPramod
0
176
Member Avatar for jackmaverick1

Hi, I just started Java (But I do have 1.5 years in c++) and I found that string switchs aren't allowed, so I tried using a character array, now when I try to define the array, it says that [ICODE]char [10 for example]array;[/ICODE] is not allowed because of [10 for …

Member Avatar for JamesCherrill
0
93
Member Avatar for turt2live

Hello, For some reason when I use the particualr block of code below it will work the first time, but when called again with RemComps as true, it will work almost the way I want it to, but instead of the one set of buttons it has 2 (or the …

Member Avatar for turt2live
0
206
Member Avatar for TheWhite

I tried everything could possibly think of to do this and have spent hours trying to figure it out.. I'm trying to take this timestamp: 2011-03-23 00:43:07 which is in GMT zimezone and convert it to a Date that is in my timezone which is 4 hours later. 1. It …

Member Avatar for JamesCherrill
0
5K
Member Avatar for asif49

I've been making a program which reads several strings from a Notepad file which's location is set through user input. Then they enter a string which is in the file, a positive message is shown if it's not then a negative one is shown. However I can only scan the …

Member Avatar for javaAddict
0
86
Member Avatar for penguino138

Hi. Im making a flash cards program and need help with making graphics, making a menu, making it so that they can go back in and access the decks, and making it so i can give it o other people, and a few other things. Here's my code: [CODE] import …

Member Avatar for penguino138
0
127
Member Avatar for sumprit

Hello everyone...! this is my first post here. I have a problem regarding finding the average from an arraylist containing database values. From the database using getString() method i have stored the results of 3 fields in 3 separate arrylist. now what i needed is to find the average from …

Member Avatar for sumprit
0
138
Member Avatar for xxfilesxx

Hey people , i need some help in order to complete my game. Explanation: Think we have 4*4 matrices 1 2 3 4 5 6 7 8 9 if we pressed 1 , 2 and 4 , i mean neighbours of the numbers,will be lighted. if the number which we …

Member Avatar for DarkLightning7
0
81
Member Avatar for Prateek Salian
Member Avatar for DarkLightning7
-2
89
Member Avatar for omor

We want to write two peograms: I: write a program from the investor takes the values ​​of r, n (where r, n positive values ​​greater than the correct one) And calculates the total shown in relation (1) and shows the value And then calculates the total of the relationship (2) …

Member Avatar for DarkLightning7
0
90
Member Avatar for monolithcode

Hi guys, I am relatively new to java language of which I'm studying at the moment. I Have spent considerable time looking through examples and java class libraries but have not been successful in finding a solution for: 1) naming an Array within a method 2) adding data to the …

Member Avatar for DarkLightning7
0
112
Member Avatar for gedas

hey, i have got a class that extends JPanel called viewPanel and in there, there is paint method. in the paint method there is a oval point drawn on it. the coordinates x and y for the point are generated by using math.random so when the program executes the point …

Member Avatar for gedas
0
101
Member Avatar for greeshmapc
Member Avatar for diafol
0
60
Member Avatar for Enzo85

Hello everyone, I am trying to read a .rtf file, does this have to be done using the RTFeditorKit? Can a .rtf file be read line by line like a normal .txt file, as I was planning to read it line by line (as a string) to remove punctuation first …

0
111
Member Avatar for jackmaverick1

Hi, I'm very new to Java (started today, though I have 1.5 years in c++) and I've now read a little bit about Java, the thing that I can't find is how to take user input from the keyboard through a console window... How can you go about do that? …

Member Avatar for sourabh17
0
198
Member Avatar for DarkLightning7

I am trying to use the java XOM libraries but I am having trouble getting them to work the way I want them to. I want to get each element and its attributes from an xml file then use that information to create folders and files on the users computer …

Member Avatar for DarkLightning7
0
316

The End.