- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 4
Re:
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this.*** **» Introduction to Java «** To start off, [Java](http://en.wikipedia.org/wiki/Java_(programming_language)) … |
|
Re:
Ok so I played around with this for a while and it works..but I wana know the logic [CODE]#include <iostream> using namespace std; int main() { int number; int max = 0; cout << "enter number: "; cin >> number; while (number !=0) { if ((number % 10)> max) //rem … |
|
Re:
hi i studied ur post in this link [url]http://www.daniweb.com/software-development/java/threads/118194[/url] but i m unable to edit the default table here is its code [CODE]jTable1 = new javax.swing.JTable(); [B]jTable1.setModel(= new javax.swing.table.DefaultTableModel([/B] new Object [][] { }, new String [] { "Book Name", "Author Name" } ) { Class[] types = new Class … |
|
Re:
Hey all =] , I am having a few problems ending this coding homework and i would love if you could help me on how to solve this problem, well my problem is that i try to print the toStirng in my constructor class and for the months it prints … |
|
Re:
Recently I've just finished my first term in college about java programming, and even before I started my First term in college I already know stuff about java, but to keep this short, all I want to know is where do I go now? what topic should I study? should … |
|
Re:
Hello below is the progra... i cann access araylist in the main class function.... like "LoanBook" see that in the code.... plz recity meeee folks... thanking uuuu =--------------------------------------------------------------------------= [ICODE] import java.util.ArrayList; import java.util.Scanner; // To take customer detais by using Constructor and Customer deatils class Customer { int cusId; String … |
|
Re:
hi I want to work with GUI and do alot of screen but with java I think its dufficult , I want to use Eclipse but I need some tutoril to start |
|
Re:
Hello I am trying to figure out how I can use a while loop to construct an object and ask the user if they want to construct another one and add 1 to the name. For instance I am creating an Employee class that I want the name of the … |
|
Re:
I am working on a program with two classes that is supposed to handle hotel information and am getting confused on how to work with an array properly. Here is my code so far: [CODE] public class Hotel { Scanner scan = new Scanner (System.in); public int[] HotelArr = new … |
|
Re:
So i'm working on a java program where I ask for a file name, read it into an array. My problem is that im using a string tokenizer to delimit my commas and that put the student information into an array object. I have 10 arrays that are supposed to … |
|
Re:
An hourly employee is paid at a rate of 125 per hour,from the workers gross pay,12% withheld for income tax,and 15 withheld for union dues. If the worker has 2 of more dependents additional 120 for health insurance. Write a java program that will input the total deduction,basic salary,gross pay … |
|
Re:
Can someone explain why, when I input 'mytag' it does find it? When I debug, it shows the text matches, but the IDs are different. Not sure why that would matter? [code=java] public void RemoveTag() throws IOException, NoSuchTagException{ System.out.printf("Tag to delete: "); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String tempTagText … |
|
Re:
showing illegal start of expression in defining functions of mouselistener interface import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.text.MaskFormatter; import java.sql.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lRollNo,lName,lAge,lMarks; JTextField tRollNo,tSName,tMarks; JTextField tAge; DefaultTableModel mStud; JTable tStud; JButton … |
|
Re:
import javax.swing.*; public class NestedLoop { public static void main(String args[]) { for(int x=0;x< 5;x++) { for(int y=0;y<=x;y++) { System.out.print("*"); }// end innerloop System.out.println(""); }//end outerloop System.out.println(); }//end main }//end class |