32,204 Topics
| |
I have a few minor problems with this program: 1. My selectionSort method - it sorted Z - A, not A - Z. 2. Since I used a string array, I'm running into problems with "operator > cannot be applied" and "incompatible types". 3. Return "search term not found" in … | |
i have an array which fills with objects in my code after i press a certain button in my GUI I have another button which when i press should remove all of these objects from the array. however i cannot find a way to do this. can anyone help me … | |
Hey all! I use the folowing class in my program to draw lines. However I also need to be able to delete them. So I need to add a mouselistener to the lines but I don't know how and whereto do this.. Can anybody help me with this? Thanks!! [code] … | |
I am reading a .Csv file and am having problems trying to get the information I want, set up the way I want. Here is where my problem comes in: [code] String[] info = beanInfo.split("," , 3); for (String str : info) { ip = info[0]; hostname = info[1]; ping … | |
I cant get the program to drawy the triangle properly. Can some help me with the draw the polgygon triangle? [CODE]/* Alex Bruso (student 2) + Tim Mumford (student 1) Hw Shape Group Exercise This program will create an applet which will draw shapes. The input from the user will … | |
I have a 3,3 GridLayout and the grid is filled with labels, but say i wanted to replace one of the label with a picture when i click a button how would I go about doing that? Tom | |
How does Java Language control the copy item of acrobat program ? | |
am looking for information about development as outsourced software programming i live in Africa Kenya and i have expertise in Java programming looking forward to exchanging info with anyone . about legality and how sourcing is done thanks. | |
i am trying to code a toString() method which returns the string "Power: ON" if the power variable is equal to true and "Power: Off" if the power variable is equal to false (the power variable is the boolean type). However i dont know how to do this as the … | |
Hello, I was wondering why do we need constructors with arguments? Thank you | |
Hi guys this is for an assignment, its the last part and its not working:sad: heres the instructions i've been given: All SpaceObjects float through "Space", so we will need to also define a Space class. That is the goal of this task. Similarly to task 1, each attribute, constructor … | |
I have java database application. I have login form using JDialogForm and I have Main program. The problem is I want to call JDialogForm when I run my main program and if the DialogForm is closed, I want my main program Appear. I have try it, but failed..... can you … | |
Hello, i have to design and implement an application that helps a museum analyze the flow of visitors for an exhibition that lasts for 3 weeks.(The museum is opened 7 days a week for 4 hours)...well getting to the point. I need to store this information in a 3d array … | |
using javascript in c# only for validations..i want to learn javascript in c# ..is there any website or material ...i dont want to read it fully..mainly used function in c# is enough..plz guide me | |
hi all ..i need help plz ...where can i find a java code(not Javascript) for an image slide show ...made in GUI ...if someone knows ..plz help ..and thnx in advance | |
| |
Okay so I have an ellipse and I could like to have a "racecar" (actually just a 10x10 rectangle) follow the ellipse around the edge. The point that is always touching the ellipse is the upper left hand corner of the "racecar." I'm not even sure where to begin writing … | |
Hi. I have a predicament... I'm trying to make a JComponent that looks like this: _____________________ | | |Option Name [Text Field] | |____________________| It's for a Option screen that I asked about earlier (I got that part working fine). But now, I need a component that has the option … | |
Hi, First of all I apologize if its the wrong forum, hope its not =) I am trying to create a java prog for my cellphone to calculate my received/dialed call timers. The phone stores 40 entries of received/dialed calls, and my plan is unlimited after 7 + weekends, so … | |
Well, i have a problem with the snake in my problem... if it runs into the body it dies. But, if I press, for example, up when i am going down, it loses. How do i keep my self from doing that? Here is the code for the movement: [code]public … | |
im having a problem getting an abstract method to work, heres the code [CODE] abstract ImageIcon getPicture(); { return picture; } [/CODE] When i compile the code i get the following error: Appliance.java:30: return outside method return picture; Can anyone help me fix this? | |
I am having trouble creating the snake, let alone making the animation. I need someone to assist me in creating such things, as well as helping me complete the program. Thanks [code]import javax.swing.*; import java.awt.*; import java.awt.event.*; /** * @(#)SnakeGame.java * * * @author * @version 1.00 2009/4/30 */ public … | |
Hi, I'm trying to make an Options screen for the game that I'm writing. I know how I want it to look, but I don't know how to add Tabs, or move the buttons that control the options around... Below is a link to a picture of what i want … | |
Hello! I'm searching and searching and can't find a solution... In my project I've got a folder 'Images' where from my application loads icons etc. Running project from IDE (NetBeans) it's of course working fine, but I want to create stand-alone application, so I create .jar file. And here's a … | |
I am working on this lotto project which generates 6 random numbers in which are put into an array. How do i put it in an array where the numbers don't repeat? | |
Hey, for our project purpose we had to collborate java with vb using JNI.because in our project there is a idle checking procedure for the client from server which cannot be done with java.... can anyone help us with java code or JNI code.... | |
Hello, I have a program called Date. While this program compiles and runs, I have noticed something weird. I have an output line that displays my values twice. Sample Run: The word date output is: February 12 2009 [B]The numeric output of the date is: 2/12/2009 The next incremented date … | |
I have to write a program the accepts a fully parenthesized like "((3*4)+(2-(4/2)))", or (3+5). It builds a tree for the expression, without the parentheses. So the tree for the (3+5) would be - "+" is the root, and the 3 is the left node and the 5 is the … | |
Ok, i have read alot about this bugs now, and nothing seems to help. Hope someone have a step by step solution for me, or atleast can give me some more insight hehe ;) Here is a few intel on my work. Im working in netbeans on my labtop, uploading … | |
I have two methods. One method was to set location of 2 points x and y. Another method was to copy that location. I used arrays. Well the program compiles but it doesn't display my values properly. Error message says: [D@af9e22. Does anyone know what this is? Thank you // … |
The End.