35,618 Topics
![]() | |
Hellooo guys could any one help me pllz i have a final exam tmw :( and the exam is Write a program that read 5 integers numbers and print the largest and smallest numbers By using IF statements :( | |
I am using JSF with trinidad. I need a popup on click of a commandLink. But the pop up doesnt work..i,e it doesnt open in the browser. The popup blocker if off and I have also reset the browser settings. Also the same problem exists with <h:outputLink value="javascript:popupWindow('watchList.jsp')"> <tr:image source="#{msgs.editImg}" … | |
How to get one answer from a set of answers may not be the best and print it? | |
Write a java program that read 2 integers numbers, Then determines and prints if the first is a multiple(double) of the second NOTE : Using if and else statements - and use the modulus ( the percentage mark ) to answer the question this is my answer !! pllz if … | |
Can anyone give me the steps to changing my default color scheme for Eclipse.. I mean changing the editor background, keywords etc. DONT post links if your trying to help, ive been on google for the last hour its useless. Thanks if you can help | |
Hello, i am having with my mastermind game. I try to display black and white pegs but it does not work. Right now i gave up on black pegs and i am trying whitepegs. [CODE]import java.io.*; import java.io.*; public class Mastermind { int a = 0; int p = 0; … | |
Hi there, Every time i am making a program in Java(Advance). I found that it can many errors in it. For example I am Giving u a program written by me //a push button with all features [code] import java.awt.*; import javax.swing.*; import javax.swing.border.*; class Mybuttons1 extends Frame { //vars … | |
Java Desktop DATABASE App SE (Like Phone Book App) I want extract data from a Database Table and, each output line has a radio button, to get edited/deleted the corresponding record by pressing corresponding button at end or results... well any sight/tip? Basically how dynamically to create radio buttons? What … | |
i'm trying to come up with an add method for a generic class i created. generally the object i create will be arrays, of type integer double or string. i dont know how to go about making the add method to have stuff added to the array... heres my code … | |
I know you can, [CODE]frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);[/CODE] but is there a way to get it to execute a method and then exit? example.. [CODE]frame.setDefaultCloseOperation(saveData, JFrame.EXIT_ON_CLOSE);[/CODE] just a guess? thanks all | |
Hello all! I am trying to create a server - client bundle that will let me send simple messages with ssl support. I am quite new at java and i can't figure out what my problem is. I am running the server and client programs at 2 computers at the … | |
Hi, I am pretty sure there is a more effective way of achieving this. Would love for some input from you guys. Basically, I have a class called GamePanel and it contains this: [CODE] SpaceShip spaceship = new SpaceShip("Galatar"); public void paintComponent(Graphics g) { Graphics2D g2d = (Graphics2D) g; g2d.drawImage(bgI,0,0,null); … | |
Hey all, I need some help on this program cause I'm stumped. Everytime I compile this program is gives me an error of either "cannot find symbol" or "int cannot be dereferenced". I'm still playing around with the code but I might have to put the other class in a … | |
/*1st - What I want to do is have the user input 2 numbers. Program should determine which is lowest and highest, then spit it out. Then I’m trying to have the user input a 3rd number that is equal to or in between the lowest number and highest number. … | |
i am using jdom to read contents from xml file.i am trying to put the field read in a table created in java.the problem is that when i am getting the contents and printing it in the console every thing is going well.but when i add the contents to a … | |
A - an interface. B,C,D - implement A. in an other class, say X, i have an array of A, that will hold some B, C, D. i have a method that get (int i, A a) and put the a in the i place of the array. ->>>> how … | |
I'm doing a practice project to save golf statistics. It will display different data using tables. I wanted to run it through a jar file. But when I exit, obviously all of the data in my arrayList is gone. Any ways to save the arraylist? thanks a lot, -10100 | |
I want to create a project on Genetic Algorithm using java for the msc final year..so how i can start to create a project.. | |
I am working on a program that asks a user for a date and they can enter any string and I want to convert it to a date. For example I might have a user that enters Aug 24th 1998, or one that enters August 24 1998, or 8-24-98. I … | |
Hello there, I'm working on a project and for this I'm using classes, in my main I'm using an array of objects. When I compile it, it works fine, but when I try to enter values, it displays this message: "Exception in thread "main" java.lang.NullPointerException at main.main(main.java:25)" Here is my … | |
I am completely new to jsp. I have to design a website prototype for a project on doctor directory search using jsp. It uses database(ms access) to store data like doctor info and all. As i will not be hosting this website online , all the code (client side + … | |
Hi guys this time i enjoy my mini vacation but in this time i want to make a little software using "c" or "c++" for my project. so pls help me and any software u know so pls give me the whole code? | |
can someone help me or give me codes on how to save images into database i'm a new user of java. | |
Hi, I am a beginner learning about java language and netbeans, and have a few questions I would like to ask. I want to create a new JSP page to allow a user to add new attributes/items, or to update the attributes in a database/table that I already have. How … | |
i am stucked in my program that i need to get that that involves designing a database with a simple gui to add and remove items i also need it to connect to amazon please guys help me out for that at the earliest...... | |
h[B]ow to create a java program using applets by calculate the groccary items please help me[/B] | |
Is this decent code, hacks, or somewhere in between? :) | |
So I am using a Clip to play a wav file that is in the resource, it works perfectly when I am running the application through eclipse, but when I export it as a Jar/Runnable Jar, the sounds will not play. I know it is not a resource problem because … | |
the errors are commented in the code: help??? [code]import java.awt.*; import java.awt.event.*; import java.applet.*; import javax.swing.*; import java.lang.*; public class Kol2_1 extends Applet implements ActionListener { Button plus = new Button("+"); Button minus = new Button("-"); Button times = new Button("*"); Button div = new Button("/"); Button eq = new … | |
I need help to write a program which calculates your grade for this class. All grades input should be taken from keyboard. the grade is calculated as follows: Grades = (homework-1 + homework-2 + homework-3 + homework-4 + homework-5)* .10 + midterm * .20 + final * .30 |
The End.