32,199 Topics
| |
Well, I know there are so many IM services. and that I want to build an IM system is just for practicing my programming skill. Here there are several questions that come up to my head when starting to design it. As far as I know, we can only receive … | |
I was given a movie list, and I was asked to make a program to retrieve information from it and eventually modify the program to find certain movies. Right now I have a Collection class and a Movie class. The Movie class look like this: [CODE] import chn.util.*; import apcslib.*; … | |
Hello from Australia =] My question is rather simple but confusing. When i create abstract classes i alway create them so it can be extended at a later date by a normal class, The ByteBuffer in the nio package is unable to be extended due to its private constructor. In … | |
How can i sort a file when given a list of various countries and their population size in two different files... How can i sort them together so that the output shows country and population... please someone help me is for a assignment??? thanks | |
Hello ! We, a group of 3 persons, Omar, Neil and Paul, will be working on a java-project for university, until january 21. It's our first GUI-program, we have decided to develop a slideshow following these ideas: for another subject on university we will install an online-picture-gallery based on PHP … | |
hi all im janaka priyadarsahana i want to write actions for buttons. i have 4 buttons and when they click i want to do four seperate things for this i have several options 1. create new class by implimenting Action listener interface and using an object of that class, can … | |
For my Java class with resultset I am trying to get the request.getParameter value. Please advise if this is the correct way use the request object in a Java class because I cant seem to get any data from the request object. [code] ... import javax.servlet.*; import javax.servlet.http.*; ..... HttpServletRequest … | |
In Project Contains huge data. In a table nearly 1.5 lac records are there.Those records Contains First Name,LastName,and Father Name. My problem is to find duplicate Records based on the names. Moreover i want to search these records Quickly. any solution is there for quick accessing Can anybody give the … | |
I know I should probably post this in Web Services of Web Development, but this may be beneficial to others that are trying to lean something about it too. I'm getting lot of strange behaviour from this assignment that at this point I'm willing to throw it away and never … | |
I need to help in the project I mention below: The project involves the simulation of a cockroach jumping pathway that accidentally dropped from the aspirator unit onto the center of a hot plate of a hamburger parlor. Due to hot plate temperature (220oC) the bug jumps randomly anywhere being … | |
Hello, I tried to run a probram from the book "Big Java" by Cay Hortsman that parses an XML document. I typed in the line in Eclipse and it gave me a red box error message saying "the import java.xml can not be resolved". This tels me that i do … | |
i want to use a JButton with a rollover sound..so created a button with a sound using adobe macromedia flash... how can i display it in the swf button in jpanel?? here is the button..[URL="http://www.mediafire.com/?p2kbme0czgn"]button.swf[/URL] [code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class MyPanel extends JPanel { … | |
Friendz, ... Have you ever do the practical about generating random number using Java in J2ME environment before ? What do you think about the suitable algorithm to be used ? I ever heard that using Blum-Blum-Shub algorithm is provable secure but in implementation, it would be so...heavy. Do you … | |
Hi, i am having trouble with java applets and uploading/downloading files. The first problem i cam across was when i wanted to upload a file to BT vault which uses a java applet to do so. When i did this i was getting to 50% and then failing. I was … | |
[ICODE] if(e.getSource() == choice2) { if(choice2.getSelectedItem().equals("Monitor")) { choice2.setBackground(Color.GREEN); hidebutton++ score++; } else { choice2.setBackground(Color.RED); } choice2.setEnabled(false); }[/ICODE] i have this code here... why do when i apply this method the score is incremented to?? would you plzz help me.. whAt is wrong 2 da Code... 4 example i have a … | |
hi all, I have a java application and i want to interact means start and stop control with IE browser toolbar button. Java code is working for fetching the URL of that browser. Please help me out!!!!!!!!!!! | |
hello..good dAy.. im Dawn a Fisrt year college student... i and my classmates will be joining a CodeCamp in our school..and it is a 3 days live in activity.. and it is a open source programming contest.... Its all about (JAVA GUI ) i would like to ask a help … | |
Can you make a jar with a java database application work outside of NetBeans 6.5 IDE? The application has the included in the library folder: 1. appframework-1.0.3.jar 2. beansbinding-1.2.1.jar 3. derbyclient.jar 4. groovy-all.jar 5. swing-layout-1.0.3.jar 6. swing-worker-1.1.jar 7. toplink-essentials.jar 8. toplink-essentials-agent.jar Application works with IDE running with the Apache Derby … | |
Hi , I am a new to java and am stuck with coupe of lines i wonder if any of you ppl could help me i wud be gr8full... URL localURL = new URL("http://www.xyz.com"); URLConnection localURLConnection = localURL.openConnection(); String str2 = localURLConnection.getHeaderField("string1"); What wud these lines actually do or to … | |
[B]This assignment requires that I allow for user input in a GUI for principal, interest rate, and term in years. I also have to provide a pulldown with 3 preset rates that will also load a cooresponding term length. All of that plus an amoritization table as well. I have … | |
I have a final exam on tuesday and i cant solve this problem. can you help me please? [url]http://www.cs.bilkent.edu.tr/~david/cs101/assignments/lab09/05cs101lab9extras.htm[/url] | |
I am trying to take continuous pictures of small window of my screen and create a continuos motion picture sort of thing and display it on the java panel . For this i am taking snapshots of the screen window by using "Robot" class . but the panel is only … | |
hello...i am confused,,it is possible that a linkedstack will be full??i only implement a method that isEmpty(),,and it reads the method if the stack is empty..but if the stack is full, it do not even read the method i made....would someone help me?/,,,thank you ahead... | |
ok, I'm taking my first Java class and in my first week. I've searched but this is different from .Net so much that I have a headache just getting eclipse set up and how to navigate the environment. That said, I have a program that would take me 5 minutes … | |
hOw can i implement an itemListener in a gRidBaglayout??? tnX 4 d help... hOpe u help me... | |
i have to submit project in java....next month..... please help me..... | |
help would be appriacted - i usually do that on a ENITRLY different file but i have no clue how to describe the INT's for a different file - note if you didnt read its supposed to be for teleportPet_process() which if you want to look at that code its … | |
We have 3 classes.In first class,we have a content pane and we have created object of second class on it.In second class,we have added a few textfields.We want that all these textfields of second class should be visible in third class.Third class also has its own GUI components(textfields). But the … | |
i have this code in java... my first combobox when u choose letter a will be correct... but how will apply in the other combobox that when u choose it... the letter b will be the correct answer?? plzz help me... import javax.swing.*; import java.awt.*; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; public … | |
how do you make a jframe transparent?...i need to add a png or gif image in the frame..so when i run the program it will only show the image..and the image would float in the desktop.. i also need to add a few components like JButton.. i want the frame … |
The End.