32,199 Topics
| |
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 // … | |
Television(boolean power, int channel, int volume); Keep getting error "missing method body or declare abstract" Can't understand why? Help please :) If you need to see all code ask TOM | |
...and it's due by midnight tonight. But I've mad a huge effort. Can I get any help? I'm trying to stay alive in this class. :'( File attached. | |
Hi I am new to java and need help . Whats the C++ map equivalent in Java. In C++ i can use map for three purposes like i) Sorting while insertion into it ( efficient ) ii) Key ,value iii and for storing unique item. I came to know there … | |
[CODE] public void deleteDvd(String title) { String DvdCompare; Dvd dvdObj; Collections.sort(dvds); for(int i = 0;i< dvds.size();i++) { DvdCompare = dvds.get(i).getdvdTitle(); dvdObj = dvds.get(i); if(title.equals(DvdCompare)) { System.out.println("Dvd is in system"); int index =Collections.binarySearch(dvds,DvdCompare); dvds.remove(index); //delete method in arrayList } else if (!title.equals(DvdCompare)) { System.out.println("Not found Dvd Object"); } } }[/CODE] I'm … | |
Please how to get a specified data from a file?? in java and what is the substitution of the seek function in java??? I need information Thanks |
The End.