- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
Re:
Hey, i was just mucking around and improving my code etc and made a calculator, it's not the best calculator in the world, it only can handle 1 or 2 numbers but i think it's good my self :). |
|
|
|
Re:
Hello everybody!!! Can someone help me on how to create an executable file on java? I made some applications in java but my problem is, I need to compile my program everytime I want them to run ... What I want is to compile my program once and then just … |
|
Re:
Seriously, what is any programming language without a HelloWorld app? |
|
.,'this is a simple java codes in w/c will enable to read a txt files. |
|
..'this is a simple program in w/c enables to create a txt file. it ask input from user first then put that in the txt file. :-) |
|
..this is a simple java code w/c allows to produce a beep sound. timer also is being applied here. hope it will help for any reason it may serve. :-) |
|
.,'this program will simply creates a diamond using asterisk.,' just try out this code i am sure you will be interested.!.. email me about your comment in this simple program!..help me if you know the easiest way to construct this kind of program..' |
|
Re:
Here is a code to sort numbers instead of strings using the BubbleSort method. The difference here is you don't use compareTo() for numbers as you do with strings. |
|
..I have a simple c# application... on the form, it contain windows media player in w/c will be able to play music nd video files. I have problem on it, while running the application in the other pc. I really wonder why it doesn't work in the other pc yet … |
|
..I just want to have some answers about it.. -is posible that we can put a windows media player in our java program?? if yes, can anyone give some info on how could I do it.. or even the bets site tutorial on how to do it... -tnx |
|
Re:
write a gui program to compute the amount of a certificate of deposit on maturity.the sample data follows: Amount deposited 8000.00 Years 15 Interest Rate 7.75 [B]Hint: compute 8000.00(1+7.75/100)to the power of 15[/B] |
|
..is anyone knows how to get the cpu usage using c-sharp??? I got difficulties to find the tutorials of it..! can you help me whats the code of it!!!! tnx... |
|
..I made a simple project in java using JCreator.., this is my first time to make a project file,. I made a class named put_data in w/c will put some data in my database then, I made also another class get_data in w/c will get the data from my database!.. … |
|
Re:
Problem Math Input File: MathIn.txt Output File: MathOut.txt Project File: Math Mathematicians on the planet Earth, write math expressions using in-fixed notation. In this notation, math operators are written between the operands they operate on (e.g., 2 + 3). On Mars, math strings are written in post-fixed form. In this … |
|
Re:
I have to write a program that asks the user to input a positive integer. It should than output a message indicating whether the number is a prime number. |
|
.,'I created a program to put some data in a certain datagrid.. I succesfully made it... but, the point that makes me confuse now is how to get that data in which i will be going to put in my database.,' I get some difficulties on how to do this... … |
|
I made a simple program in which will connect to ms sql... then, after running the codes something is error! can you help me to solve this out... here is my code: import java.sql.*; public class connect_sql { public static void main(String args[]) { Connection con = null; try { … |
|
Re:
I'm trying to write a program that first decides if a number is prime, and if it is writes it to a file I created. I'm obviously having problems (or I wouldn't be pulling my hair out and posting this). First, the errors say an identifier expected after the "public … |
|
Re:
I'm suppose to create a problem that displays the contents of a file (that the user inputs), and then displays each line with a number in front and a colon after it. So, line 1 and 2 would print out: 1 lineFromFile : 2 lineFromFile : But, it keeps printing … |
|
.,what is the best tutorial to know on how to insert an audio in my java program... -any advice is highly appreciated... alpe:) |
|
Re:
i have a program running with lot of system.out.println statements.. i want to display this in a javaframe...can anyone tel me the steps to go abt it |
|
Re:
import java.util.*; public class changemakerj { static Scanner console=new Scanner (System.in); static final double PRICE = 10.50; public static void main (String[] Args) { double quantity,tprice,amtpaid,change1,chg$10,chg$5,chg$2,chg50,chg20,chg5,chg2,chg1; System.out.println("Enter the quantity:"); quantity=console.nextInt(); System.out.printf("Total price:$ %.2f.%n",tprice=quantity*PRICE,quantity); System.out.println(); System.out.println("Amount paid:$"); amtpaid=console.nextDouble(); System.out.println(); ; System.out.printf("Change:$ %.2f.%n",change1=amtpaid-tprice,amtpaid); System.out.println(); chg$10=(int)(change1/10); change1=change1 - (chg$10*10); System.out.println((int)(chg$10)+ ":$10.00"); chg$5=(int)(change1/5); System.out.println((int)(chg$5) … |
|
I already got this one... System.out.println("Hi!"); Thread.sleep(3000); System.out.println("How are you there!"); thnx for it!,... Although, I tried it using dialogbox., JOptionPane.showMessageDialog(null,"Hi!"); Thread.sleep(3000); JOptionPane.showMessageDialog(null,"How are you there!"); .,my question is... why Thread.sleep(3000); doesn't work during the proccess., is Thread.sleep(3000); limited only??? if not,how can I apply this one while using dialogbox.... … |
|
can anyone help me with this one... System.out.println("Hi!"); System.out.println("How are you there!"); -can i display this one controlling the time! what i mean is.. display first the "Hi!" and then after 3 seconds it will display "How are you there!" Help me pls.. ANY HELP IS HIGHLY APPRECIATED -alpe |
|
.,'is anyone knows how to open a new frame in java?help me pls. :'( ...i got difficulties with this one!! |
|
Re:
Hi, I would like to ask if anyone knows how can I delete empty lines from a file. I thought that I have to crate a loop like [code] FileInputStream fstream = new FileInputStream("input.txt"); DataInputStream in = new DataInputStream(fstream); BufferedReader br = new BufferedReader (new InputStreamReader(in)); String strLine; while(br.readline()!=null) { … |
|
.,'is any knows the code to delete a directory in java... help me pls... YOUR ANSWER IS HIGHLY APPRECIATED!.. |
|
.,'is there any software in w/c we can simply creates a frame in java by just click and drop only???I still didn't know it????help me to know this pls....:) |
|
Re:
Please can anyone tell me how to convert a string in a text field to an integer. im using [ String q = answerField.getText(); int n1 = Integer.parseInt(q);] in my programme but i get the errors: Exception in thread "main" java.lang.NumberFormatException: For input string: "Enter Answer here!" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at … |