32,199 Topics
| |
Hi, I was told that WPF can not be used in the silverlight - is it true? I mean about ten years ago I was able to write java applets with almost desktop interaface and I did consider silverlight 2 to be much better than that. Suddenly, in VS2008 I … | |
System restore shows a blank page and sites needing javascript are saying it isnt enabled, although it is. I've looked at various previous posts regarding this topic and tried running various suggested programmes without success. Another suggestion was to download scripts from Microsoft which I have tried to do, but … | |
Hello guys, I am having a small problem, I want to play a small songs (preferably .wav)when a user clicks on a button. Can someone just guide me please, is there a built in function. I've tried the [code]music.play();[/code] but its not working. Thanks in advance for you answers. | |
[QUOTE=madhavireddy]Hi, I am new to java I have a project to be done with early deadline. Can u please help me how to write code in java to send GET request to server from client. Thank you in advance.[/QUOTE] So, you accepted a job you're not qualified for, or you're … | |
Dear all I am currently trying to find a java source code with which either HTTP POST or GET request can be sent. Unfortunately I have run into bunch of snippets that I can not run. Is there anyone that can tell me where I can find complete source code … | |
Hi All How i can send SMS by Java Mobile Application. I want the Class which used. Thanx Osama | |
I have to make a database in oracle and connect it with Java. But I'm not able to do so. Please help. | |
Okay im working on a java program which will get peoples system info and save it to a text file so i can help them with problems (designed for members of my family to use as i seem to be their own personal IT guy lol) [code] package sysinfo; import … | |
I am supposed to change an ordinary for loop into an enhanced for each loop. I have the following two problems: 1. for(int i = 1; i<data.length; i++) sum = sum + data; 2. for(int i = 0; i<data.length; i++) if(data == target) return i; These are the only pieces … | |
create 3 class,InputForm,Manager and Student.use only class below is the inputform class public class InputForm { public int input; public double getInput(){ return input; } public void displayMessage(char grade){ return grade; } } Student class public class Student{ private double score ; public Student (){ } public Student(double score){ this.score … | |
Greetings, I am creating an applet to draw a shape based on the selected item within the awt choice object. It currently draws the selected shape based on selection and quickly dissappears. I believe that I should be doing all drawing elements from the paint method (which I am not). … | |
a question was given to me some time back...now im wondering how to do it in my free time ....it would...please see the atteched document to see the question...dont laugh as im still a novice in programming in java | |
I m in SE Comp Engg need help in SCR As I've Drawn ,I want that when my sun goes outside the screen ,the background behind mountains should turn black with stars . Also while sun moves up,man should also move in x-direction and go outside applet. [Code] import java.awt.*; … | |
Hi guys, how to read a unicode characters (arabic characters) form ResultSet object which appears after extraction as question marks like this(?????) i've tried to use the "getUnicodeStream()" method and "getCharacterStream()" method but both leads to the same results, does anyone have a workaround to this problem. Thanks in advance. … | |
Hello, I am to write a program that is capable of taking an array of doubles from the user, then calculating each numbers square, cube etc. and then displaying it to the screen. The program itself is fine, but one aspect of the program is that if a user enters … | |
Ok... First off. I am not talking about javascript tricks for your website. These scripts are just for fun. To make these codes work, all you have to do is copy and paste it into the address bar of your browser window and hit Enter (Yes the little bar in … | |
I'm having trouble coming up with a solution to this problem. Say you have two byte arrays with numbers stored in them backwards. For example, say you have the numbers num1 = 843234 and num2 = 5430222124 stored in two byte arrays as follows [code=java]byte[] num1 = {4, 3, 2, … | |
THis program is supposed to take a number (1-5) from the user. After each number is entered, it should ask how many of each product they want, then show the total for that product and and overall total at the end. I have to use a swich statement. And stop … | |
[code] Hi, just wondered if anyone could help, this is my college work an i have this bit of code, just wondered if anyone could help me..... im trying to do an addition of 3 array amounts public void AverageProduction() { /*Shows input dialog box asking for user to enter … | |
hi, i m running several command in telnet/ssh command prompt it is a linux base server. now i want to add some [B]clear screen [/B]and [B]capture the [/B]command prompt data into text file. whole session can write into file. and this to facility can be given into menu bar specified … | |
Hello, I need your help again guys. I am trying to make a pop up form name setIPInterface (when the user click on a button in the form "ClientInterface"), for a user to input an ip address in a textfield and when the user click on the button "Set", the … | |
You are required to develop a GUI for car show room. The program must use collection to store and process information about cars. The class for car information must have following attributes: 1. Name of car’s manufacturer 2. Name of car’s owner 3. Registration number of car 4. NIC number … | |
Hi i am new to use java. on compling my java file in tomcat server i get cannot resolve symbol symbol : method getAttribute (java.lang.String) location: interface org.w3c.dom.Node out.println(photoElements.item(iElement).getAttribute("id")); and the line he is referring to is for(int iElement = 1; iElement < 10; iElement++) { out.println(photoElements.item(iElement).getAttribute("id")); i am not … | |
hi I am using NetBeans 6.0 to create my Desktop Application which is swing based Database Application. I want to create a splesh screen in my application using JavaFX but i don't know how to visible created JavaFX. Can Anyone tell me how to create Splesh screen using JavaFX or … | |
This is a conceptual question... I'm planning to make a simple paint program using swing and I want to plan it in advance before I actually code it. I want to be able to draw some rectangles using fillRect, etc, and then be able to drag those rectangles around the … | |
Hi! this is a lengthy post/I hope its comprehensible basically this program should calculate and display the area of a circle.....but it shows area as 0.0 for every value of radius entered.......I would really appreciate it if someone helps! [CODE]import java.util.Scanner; public class circledriver { public static void main(String args[]) … | |
Hi folks, I want to write grammar rules for a form entry application. On the form/frame I have some fields: Customer name, telephone number I check the validity of the textfileds before data saved. What can be the grammar for a telephone number and name considering that users shud not … | |
Hello. Is there a way to get my program to read the next line from a file based on a condition? Let's say my file has lines with 1s and 0s, I need it so that it continues reading the line if it reads 0 until it reaches a 1 … | |
Bellow are 2 files for Pie, First is simple. It works but needs PieJavaPizza to have shown inputs. For slice and type. Radius is always a power of 2. And I am stuck. Is it possible to make import java.io.BufferedReader; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.text.NumberFormat; Work with objects in … | |
I want to change a while loop to a for loop but not sure how to do it. This is the loop. [CODE][LIST=1] [*]public static void main(String[] args) [*] { [*] String input = JOptionPane.showInputDialog( [*] "Please enter a number, 0 to quit:"); [*] int n = Integer.parseInt(input); [*] int … |
The End.