32,199 Topics
| |
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 … | |
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 | |
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 … | |
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; … | |
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. … | |
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 … | |
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 = … | |
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 … | |
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 … | |
| 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 … |
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 … | |
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 … | |
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?????? … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi All; need java code to upload and download excel files to the file system.. | |
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) … | |
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 … | |
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 … | |
Fadein and FadeOut is not supported by IE8. Please let me know any way to fix that. | |
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 … | |
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? … | |
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 … |
The End.