32,199 Topics
| |
Hi, I am trying to connect to a running instance of Internet Explorer from java. The idea is to connect to the running instance and then start monitoring the pages the user visits. I have just been able to launch a new instance from the program and start controlling the … | |
The Mortgage Calculator will calculate and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. The user will be asked to enter to the amount of the mortgage loan, the term in years of the mortgage, … | |
Hi guys, I have a drop-down navigation bar on my website. While I am creating the website, the drop-down have no problem overlaying the javascript (embed with flash) in Firefox. But when I tested it in IE, it did not managed to overlay the javascript script and the drop-down went … | |
I need help on this program it takes in a string e.g abc 121 123 abba acca. Then the output is Valid Palindromes are abba acca (It doesnt count numbers as palindromes) How do i seperate each word without using arrays? I wrote this code for the start but it … | |
I am writting a code to calculate the total payments of a car with interest. Also calculating the monthly payments. I keep getting errors, saying that i am not declaring price and rate...how do you declare them to some number? this is my program. [code] public static void main(String[] args) … | |
hi, i want to emit a tone a specific frequency and at specific intensity(in dB) ? what i want to do is say i am emiting the the tone at 1000hz then for this frequency i should be able to variy the intensity of the of the at 1000hz from … | |
i have a problem, we have a problem in my major subject. which is java, and i dont know to make it. sorting with GUI using numbers and names.. i wanna learn java but its too hard for me.. thats why i most likely use vb.net for fun.. but i … | |
Hey I m not able to understand the topics such as Abstract classes,annotations. Plz help me out. And I also want to know how can i practice online java programs. I m not able to find some specific practice problems.:( | |
I've started using vim recently as my main text editor and I've tried to come up with a map command which compiles and runs my java source code. This is what I have so far: map <F4> :!javac % <CR>:!java %< <CR> but it doesn't always work. For example, when … | |
I need to modify this class to mark nodes as deleted without actually deleting them. Of course, other changes will need to be made to the class to facilitate this. I'm really confused where to start. Should I add another Node variable in the inner node class to denote a … | |
i need this to work in my program Create a Number Operations Super Class Create an Numbers Operations class that contains common attributes and methods of the child classes create a child class of Number Operations super class that specializes the behavior that is appropriate for the type of operation. … | |
hi there i wanted to make a database in netbeans by useing by useing javax.peresistence pakage,i cheked some web pages, and some of them said" follow this path to make a db tools >java database > create database >..." i netbens v6 this option exitst but in netbens v6.5 it … | |
Hey guys, I am making a block breaker type game. One panel houses the background, and one panel has the bricks, paddle, and such. and the other has the background. In my main class when I add the panels in this order: [CODE=java] add(new BrickBoard()); add(panelbg); [/CODE] the background image … | |
Hi actually we r building a project based on mobiles so can any1 suggest me one efficient mobile simulator built on java.. | |
I complete this script, but it seem a bit messy at the If else if statement. Can someone make it look nicer, or point out any other place I need to fix to make this better. Thank you [CODE] import java.io.*; public class Assignment4 { public static void main(String[]args) throws … | |
Hi; I have a problem which involves the road map of a certain country is given and I have to find the best solution to find a best solution for the map by demolishing the extra roads in the map and keep the roads that would make it possible for … | |
Hey there, I have the following code: [CODE]public void paintComponent(Graphics d){ int gjeresia_e_kornizes = 800; int lartesia_e_kornizes = 800; d.setColor(Color.white); d.fillRect(0, 0, gjeresia_e_kornizes, lartesia_e_kornizes); d.setColor(Color.red); d.fillOval(105, 70, 250, 350); try { Thread.sleep(2000); } catch (InterruptedException e) { } d.setColor(Color.blue); d.fillOval(150, 170, 50, 20); d.fillOval(270, 170, 50, 20); try { Thread.sleep(2000); … | |
I am using the robot class to move the cursor across the screen. Is it possible for my java program to detect a change in cursor shape or color as the cursor moves across an open window where the non-java program controlling that window is the source of the change … | |
Dear Friends, I have created a file upload utility which will read the .csv files. My database structure is-- 1)id 2)mobile_no 3)address The administrator will do bulk upload for the above. If the id and mobile_no are already present in the database...then it will update the existing data. If doesnot … | |
Hi all, I have a problem concerning my project which is Persoanlised Agent for hotels. In fact, i am creating an interface using java swing for entering the details so as to be able to search for available hotels in a specific country.. the different search criteria is 1) Price … | |
[code]import java.util.Map.Entry; import java.util.Properties; import java.util.Set; public class Sysdetail { public static void main(String args[]) { Properties systemProps = System.getProperties(); Set<Entry<Object, Object>> sets = systemProps.entrySet(); System.out.println("systems properties:"); for(Entry<Object,Object> entry : sets) { System.out.println("name: " + entry.getKey() + ", value: " + entry.getValue()); } } }[/code] | |
Sorry for the somewhat sloppy programming but it should be understandable. Ok i'm supposed to write a function decide(), its purpose is to first broadcast a User object and then listening for any acknowledgements. If any was received it acts like a client and the one who sent the response … | |
I'm suppose to combine class Time2 and class date into one class DateAndTime. I don't understand how to do it at all, I've been trying to read through my book and I just don't get it. Can anyone possibly help me out on how i could combine these two classes? … | |
plsss teach me how insert a image in jcreator........... | |
guys, good morning...what are the requirements that must be installed for you to call java class using PHP?? thanks for the reply ^_^ | |
Hi guys, my lecturer has mentioned overriding the equals method before. Am I correct in saying that you override the equals method so that instead of checking if two objects have the same reference it checks their values? And therefore is it also right that there is only one code … | |
I wonder if it okay to write a big equation in System.out like this or Seperate [CODE]else if (earn>=200 && earn<=693) { System.out.println("Excess Earning" + (earn-200)); excess = (8.40+((earn-200)*.15)); System.out.println("Tax Withholding" + excess); }[/CODE] | |
I am working on some assignment. I read the book, and did exactly as it said, but it came up some weird error I don't know how to fix. Please edit my problem, so I can continue my work. Thank you. [CODE]import java.io.*; public class Assignment4 { public static void … | |
hello please help me i have a program and i want to connect to the database i don't have any idea on how to connect because im still a begginer on this..help me please how to connect to the database,hoping for your positive responds | |
Hi, Im suppose to write a Maximum consecutive sorted substring in a string. "abacdefkabfh" is acdefk. Im suppose to analyze the time omplexity of an algorithm.. I dont know where to begin |
The End.