- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
Hi everyone, I am having trouble with getting output from the console onto a file, for example a .TXT. I suspect that I have to make use of the System.out function, but I can't quite figure out how I might use it. Thanks for the help |
|
Re:
This is my first post. I am a novice in VB.NET. I am able to hide form1 from from2. But I am not able to close the form1 or exit the application from form2. Is there any way in which I can exit the application except from the startup form … |
|
Re:
Hi guys I have what I think is a really simple problem but I just don't seem to GET Linked Lists or at least how the nodes work. I have a class that implements these methods: public boolean add(Object newEntry); public boolean add(int newPosition, Object newEntry); public Object remove(int givenPosition); … |
|
Re:
Can anyone help me to get the estimate value of float value 1001.27124 to 1001.27? Math.round(float) function return the int value. But I want to get float value result with 2 decimal point; Thanks in advance. |
|
Re:
I can ot get my output to reflect accurate info, does anyone have a possible solution? /////////////////////////////////////////////////////////// import java.util.Scanner; public class Count { public static void main (String[] args) { String phrase; // a string of characters int countBlank; // the number of blanks (spaces) in the phrase int length; … |
|
Re:
Hi, I was wondering how do i go about generating unique random numbers? ie i want to generate numbers between 0-9 randomly. I dont want to repeat the numbers.Then that no: should display on the buttons.ie there are 9 buttons. first randomly generated number should display on the first button … |
|
Re:
I am doing a program that will convert euros and yens to US dollars and then give the total amount of money upon exiting the program. I need a gift class to hold the total. Basically I did two file a ConvertCurrency file and a gift file. It is has … |
|
|
Re:
hello, I am using netbeans and i wonder how you make a executalbe so you can drag and drop it into a floppy then run the prog on someone else's computer. Is it call making a jar file or sommthing. ANy help is this simple or wat? God bless. |
Re:
I'm doing an assignment that implements the following interface [code]public interface MyStackInterface { public Character pop(); public void push (Character c); public boolean isEmpty(); public void clear (); } [/code] The objective is to properly arrange parenthesis, brackets, and braces. I was wondering should I use a data file or … |
|
Re:
Hi, to everyone.‎ My program to make program to write the application the input ‎a dollar amount to be printed on a cheque, and then prints the ‎amount with eleven position number are available for printing ‎the cheque. And need to run the word equivalent of the cheque ‎amount e.g.: … |
|
Re:
Hello! I started this course in Java and we got this assignment to do and it consists of making 2 strings of text and then we are are supposed to write this code that storage the varible "`max_length`" and then print out "The longest string has the length...". I know … |
|
Re:
Hi everyone, Just thought i would post my program im doing at the moment as im completely stuck. Basically the program takes a user input as a string, uses the tokenizer to break down. The individual strings which will be single characters will be used to draw notes on a … |
|
Re:
I just wanted to know how to draw a thick line and also can anyone tell how drawArc works , in know how to make it work (x,y,width,height,startAngle,Arcangle) but i cant figure it out. Line just arc in ways i dont really understand. Thanks. |
|
Re:
hi to everyone , i have to make a program in jav which will fulfill following conditions. first of all, i have to make any alphabet by free hand drawing, like in ms-paint there is a pencil so by using that suppose i am writing b,c or any one alphabet, … |
|
Re:
I need to create a JAVA Class TicTacToe program. There are API doc of the class TicTacToe and TicTacToeApp.java which program control TicTacToe game play. Would you please tell me how to write the Java Class program. Thanks a lot! TicTacToeApp Java Program as shown below: /** * TIC TAC … |
|
Re:
well hi guys new to the forum and i need some help im writing a program where a guest’s name is entered and then assigned to a room. The motel has three floors and 30 rooms thus im using a 2D array (arr[3][10]) its supposed reserve a room and the … |
|
Re:
I am trying to construct a JTree to show the following data. The program should he able to read any data in this format. [B]ChildNode[/B]--------[B]Parent Node[/B] Employee--------Root Visitors----------Root Staff------------Employee Students--------Employee Graduates-------Students Undergrads------Students Interns----------Employee,Visitors I have this two columns of info stored in two linked list. LinkedList A and LinkedList B. … |
|
Re:
Hi, I am new to java.Can u Plz help me.I have a JcomboBox. I want to display all the ItemId from the database in that JComboBox. I don't know how to do that.Its Displaying only 1 item.ie.first record.Can any one plz help me. The code is:- public String selectItemID(){ String … |
|
Re:
What is the code for converting from binary to decimal???????? :rolleyes: |
|
Re:
CAN ANYONE EXPLAIN THE OUPUT AND THE ERROR OF/IN THE FOLLOWING PROGRAM /* Debug this program */ class WomenMen { unsigned int i; String stirng s[]; String name[]={"men","women"); private f(int i) { system.out.println(String[i]+" "); } void main(String arg[]) { System.out.println("Press 0 to enter men's name /n press 1 to enter … |
|
Re:
Hi everyone, I require some help for this project I am currently working on. Basically what I have to do is read from two text files, then calculate some numbers from both files (eg: add the numbers and average them) and after that, write the results to a another file. … |
|
Re:
Hi, pple im interested to know how to put a drawn 'image', a combination of a circle and a line into another class? If i like to draw that 'image' in the void paint() method multiple times, e.g 10. How should i go about doing it? Below is a sample … |
|
Re:
[B]Please let me know that what's the component heirarchical structure, i.e, what comes first ...........window then applet or frame is pasted, then comes panel ,after that all GUIs. If I m wrong then plz tell. If I m right then also reply me, I am still confused[/B]. :confused: |
|
Re:
I'm new to swing, and was curious if anyone could point me in the right direction here. Cannot figure out how to make this repaint crap work, or if I'm supposed to be using repaint(), or what, to make this image get drawn to the background of my window. Here … |
|
Re:
Hi I want to replace "ta,at,an,bc" in main string {ta,at,an,bc,ta,at,an,bc,ta,at,an,bc,ef,ta,at,an,bc,ta,at,an,bc" with (ta at an bc)*.The result array should be "(ta at an bc)*,e,(ta at an bc)*". Can anyone give me some hint? Thanks in advance. |
|
Re:
i am having a problem to store the item and call from it.It is like you already created a text file,then you need to assess item from it.the item is in disorder. :sad: |
|
Re:
Hi I got the error for possibleseq array . The error is java.lang.NullPointerException. As java doesn't support pointer, when want to use dynamic array, how I can use. The array length cannot know exactly . It depends on the possible subsequences. So, Do I count the possible sequences in advance … |
|
Re:
how to store the data read from the txt file, and store it into different array? for example, name,age,address i know how to read them differently, but don know how to store it... :cry: FileReader fr = new FileReader("abc.txt"); input = new BufferedReader(fr); line = input.readLine(); while (line != null) … |
|
Re:
hi my name is srikanth.can anyone briefly explain the concept of polymorphism to me in java context. thank you. |
|
Re:
i'm new to java and this is my first post and a silly one too plzz help me out under what context should these both be used and how is it internally expressed or used by the compiler |