35,618 Topics
![]() | |
good day everyone... i would like to make a project using barcode reader... can somebody explain me how the the data from the barcode reader can be retrieved..? does the barcode reader keeps on reading data, then you are just going to break the process thru your program codes...? plz … | |
hey guys, im creating web service where i have one method in the web server that should be returning me string array. the problem is when i use "design view" to add the operation(method) to the server it does not allow me to chose string array as a return type. … | |
Im looking into getting these certifications. I was just wondering how they are looked at within the programming community/ job markets? Is it something worth looking into or is it more of a converstational/bragging piece? | |
Hello new here, I couldn't find where this belonged. It's really hard with dail-up my satillite broke and couldn't afford to get it fixed right now so.......why can't I download Java and Adobe? I just bought this new computer, it's a Dell Inspiron 580s. This is the error code I … | |
I'm currently trying to make a mini dictionary. To do it i need to learn how to sort strings in alphabetical order. Can anyone tell me or give me a hint as to how am i going to sort the words in alphabetical order. | |
Hi! I created JToolBar, but it is always attached to JPanel. If I run my api, then I can drag and drop JToolBar in order to separate it from JPanel. I want to programmatically make JToolBar to look as a separate window (e.g. as a toolbar in Photoshop). Does anybody … | |
Hi all I'm working in the program which create two objects both object contains type , color , price, weight And I done with but the problem is how I can round the number in price and weight becuse i change the weight from pound to kg how i can … | |
Hello, :?: I need help with adding int arrays i got the everything working except for when i need to carry more than once and if the carry isn't in the ones digit honestly i can't think of anything :$ any ideas, suggestion, code would be welcomed [CODE] public class … | |
:icon_rolleyes: Describe the [COLOR="red"]differences[/COLOR] and [COLOR="Green"]similarities[/COLOR] between the [B]inner classes[/B] and [B]subclasses[/B] in the context of their objects created [B][COLOR="red"]([/COLOR][/B][I]i.e.[/I] [B]non-static[/B][B][COLOR="Red"])[/COLOR][/B]; Analyze the control flow in a [U]simple program where they are nested jointly[/U] and deeply by all possible extreme situations .......... :icon_question: | |
:icon_cry: How the [B]JDK[/B] tool could know the (directory that contained the first element of the) [I]Fully Qualified Package-Name[/I] of the [U]required class[/U] that yet to be searched ? | |
Hi! There is JPanel with multiple JLabel components. I would like to change the border color of JLabel component that is clicked on. I tried [ICODE]this.getComponentAt(e.getX(), e.getY()).setBorder(solidBorder)[/ICODE], but it did not work... How could I solve this task? | |
Hello, I'm getting quite flustered with this program and the errors are starting to get harder to debug. This is my tree.java file: [CODE]package TreePkg; import java.io.FileNotFoundException; import java.lang.SecurityException; import java.util.Scanner; import java.util.NoSuchElementException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.Serializable; import java.io.EOFException; class TreeNode<T extends Comparable <T>> … | |
Why do they release their own version? Also why don't they allow Java on their portable devices? I'm looking for their specific reason, something besides "Apple are Nazis". | |
Hi! I'm trying to add dragging and dropping behaviour to JLabel. It works only when I press the mouse for the first time. If I continue pressing the mouse, the error message shown below is generated. Please, help me to find an error. [CODE] JLabel bkg = new JLabel(icon); jLayeredPane.add(bkg, … | |
Hey, I've never really used packages before so I was wondering if what I am doing is possible. i have a package called spacewars with all my classes. I then created another package from that called spacewars.resources. I am not sure what the best way to access those resources is. … | |
Hi all, I just got started using JasperReports and I'm intially stuck on this parameter problem. I have a report which is just a list of cities and the country they belong to. I would like to create a list/dropdown parameter so that when the report is run a unique … | |
Hello Members, I have a Class_A which extends a JPanel. This JPanel is inside of a JFrame. In Class_A, I have a series of images (stored in an ImageIcon array) and another image, let's call it Image_A, which is also a ImageIcon type. How do I make Image_A a background … | |
hey everybody I have problem with my program which is I couldn't do text scrolling correctly I open text file from the user then put it in text area after that the user will press start button to auto scrolling , i road the file line by line and stored … | |
I have a buying system set up in one class (the Right Panel class) and it's working great, but my text field for displaying money available is in the Left Panel class. When I click the buy button, it should subtract from the money amount and re-display the new money … | |
Please help me..I need to fix my array. This is from my instructor..Your program compiled and ran well. It implemented all of the requirements for the assignment. You have a separate class that stores your Product, and your products are stored in arrays. You also implemented methods to sort the … | |
Hi! I would like to zoom in & zoom out an image in JLayeredPane. Now I have a snippet for loading a background image into JLayeredPane. How could I now access ALL content images of JLayeredPane (it could contain multiple images) and zoom them in/out? Perhaps, somebody could send me … | |
Why won't this work? I'm trying to make a ball appear and move along my screen but it's failing :'( . I'm :( and also trying to make it so when you press any key it restores the full screen but that's also failing. :'( Can anyone help? [CODE]import javax.swing.*; … | |
Hi, I'm a bit stumped. I'm trying to find out a way to make a bullet fly from a spaceship. So far, I managed to make it work but it attaches onto the coord's of my ship image(I used the position of this to map the starting position of my … | |
Hello, I'm having little trouble solving this question correctly. first of all, I keep failing at testing most of these methods, and I don't know where did i go wrong for them not to work. thus, i'm not able to know if it's solved correctly or not. Question is: 1.CountNumbers … | |
I'm setting up a validation xml file for a struts2 based web app. I'm getting an error when the file (CustomerAction-validator.xml) is loaded. At the top of the xml file, I have the following [CODE]<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" [B]"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"[/B]>[/CODE] The Tomcat error I get(I can't easily cut … | |
Hi guys, I'm trying to create a 2D array of JLabels my first problem is actually creating them. my code atm is = [CODE] package test; import java.io.File; import javax.swing.JLabel; import javax.swing.JPanel; public class testing extends javax.swing.JFrame { /** Creates new form testing */ public testing() { initComponents(); for(int i … | |
I'm doing a java project where one of it's parts is to add college courses to an arraylist. This college courses has their class code like ccom 3001, how many credits does that class have and the complete name of the course, like Programming I etc. The only thing I … | |
I'm trying to complete the good old Knight's tour (Knight piece must touch every square on board without touching a square twice. My code goes all the way to the point where the knight is at a dead end, and I need to revisit the last stack... How do you … | |
Hi all, pls can dataTable jquery plugin be integrated in struts frame work? I actually want to use this plugin to create rich table in jsp. help me plsssssssssssssss. thanks | |
Hi all, I am having a little problem with displaying results from a search html form which forwards onto a servlet for processing, then the results are displayed in a jsp web page. The html form contains a [CODE]<select>[/CODE] for a drop down list to select what term to search … |
The End.