35,618 Topics
![]() | |
Hi, I want to connect the jasper report with netbeans...........If any know please reply..............thanks in advance. | |
hello guys... can you help me to find coding for grading system for my new assingment...( grade n grade point) grade A= 4.00 A- = 3.70 B+ = 3.50 B = 3.00 B- = 2.67 C+ =2.50 C = 2.00 C- = 1.67 D+ = 1.33 D = 1.00 E … | |
hi guys, do anyone kno how to play wmv without classid in jsp!! please do the needful waiting for yr reply!!! | |
i think i have converted my application to an applet..... it use to read lines from a .txt file i have on my hard drive but now i want it to read a .txt file from a URL: [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.JButton.*; import javax.swing.event.ListSelectionEvent; import java.net.*; import java.io.*; … | |
Alright I'm trying to design a GroupLayout but running into troubles and lots of confusion...I have read the java tutorial on them and I'm still at a lost. Here is a makeshift design I painted: [url]http://img268.imageshack.us/img268/2757/grouplayout.png[/url] The thing that is stumping me is how do I go about stretching the … | |
Hi everyone. I am new to this website and I could use some major help. Basically, I am taking AP Computer Science and my teacher has no idea what he is doing. The school thinks that since he can do web design and adobe teaching, he can do java programming. … | |
I need to find the smallest index in an array, my math must be wrong because i am finding the smallest number not the smallest index. can someone check my smallestIndex method and give me some help? for example: if i put in these four numbers, 2 3 0 1, … | |
Hello all! I'm working on setting up a program to go about some files in a directory, do with them what I need, then delete. So, I started with the unfamiliar part for me, as the rest I am sure will be easy as pie. I tried to just write … | |
plz help me with code import java.io.*; public class FreqOrder { String[] word=new String[30]; int chars[]; public static void main(String... ar){ FreqOrder fc=new FreqOrder(); try{ fc.getWords();}catch(IOException e){} } public void getWords() throws IOException{ FileInputStream fin=new FileInputStream("abc.txt"); StreamTokenizer st=new StreamTokenizer(fin); st.eolIsSignificant(true); st.wordChars(33,255); st.whitespaceChars(0,32); int i=0; int nooftoken=0,tokenno=0; while(st.nextToken()!=st.TT_EOF) { switch(st.ttype){ case … | |
Hi Everybody............ M programming in JAVA............... I want to display text in JTextArea .... The text to be displayed is [TEX]Unicode words[/TEX] which are stored in the MS Access Database in table and my applet is linked with MSAccess using DSNLess connection.... Any can tell me how to get Unicode … | |
Okay, I have read through all of the average grade java swing threads I could find on this site, but I can't seem to fix this problem. Everything seems to work correctly, but the average grade won't display in the JTextPane. I am going to get rid of the extra … | |
I got a project, it want us create a application that can keep track of your collection of DVD and allows a user add a new DVD to the collection. The DVD information contain Title, Category, Year and Rating. In this application must use list (ArrayList or Vector or LinkedList) … | |
hi, first time i am using 2D array, so not much familiar with this(just learning). below, in my program trying to return the values of 2D array that i m calling from different class and showing in JTable. its working but when i am using condition then getting some null/emty … | |
hey guys very sorry for creating a new thread here but i couldn't find my queries in available threads I just want to connect the java applets with mySQL database, so that the project i am working on, should move forward. Any suggestion would be thankful. The code specs would … | |
Hi, I am trying to learn exceptions using "throws". So , my code is [CODE]public class A { public static void main(String args[]) { A a = new A(); int x1; int x2; x1 = 7; x2 = 0; a.printer(x1, x2); } void printer(int x1, int x2) throws ArithmeticException{ System.out.println("Add: … | |
Hi there, I did not see an Android thread, but its pretty much an extension of J2SE so this is probably the best place for it.. I'm currently developing on minimum sdk version 3 (Android 1.5 - cupcake) and I'm having a strange unexplained issue that I have not been … | |
[CODE]public class Employee { private String name; private String SSN; private Employee e = new Employee("ME","MYSSN"); Driver x = new Driver(32); public Employee(){ } public Employee(Employee e){ this(e.name,e.SSN); } public Employee(String name, String SSN){ this.name = name; this.SSN = SSN; } public static void main(String [] args){ Employee e = … | |
| |
Good Day! I'm a little bit lost right now on how to implement trees in java. We were ask to do a program that will display relationships (1st/2nd degree friends). I'm thinking of using vectors but our teacher said that we have to use Abstract Data Types (Trees). I've tried … | |
write a program using 'for' loop to display the following pattern, where '*' is displayed at a time | |
my program seems to run fine the first time i run it, but when the JOptionPane box shows up at the end asking if id like to run it again it seems to restart my balance to the initial amount rather than keep it and continue subtracting or adding [CODE] … | |
Is it necessary to archive ALL of the updates received from Microsoft and Java? Doesn't each subsequent update negate the previous one? | |
here are the instructions for my assignment Write a program that counts the number of words, lines and total characters (not including whitespace) in a paper, assuming that consecutive words are separated either by white space or end-of-line characters. Your output from this particular file should say: line count: 58 … ![]() | |
So I need to make this program that Reads a file with a scanner, inserts each key and value into a hashmap, and when the user types in one of those keys, it will print both the key and the value. If it has no value, it says so, and … ![]() | |
It compiles without any errors in Eclipse, and when I comment it out, the application does not crash, but somewhere in here it is making my application crash on startup. Does anyone know how to fix this problem? [code=Java] Button send_button = (Button)findViewById(R.id.SendButton); spam_button.setOnClickListener((OnClickListener) this); phone_number = (TextView)findViewById(R.id.ph_num); txt_body = … | |
What I need to do is using classes, design an online address book to keep track of the names, address, phone numbers, and birthdays of family members. The program should be able to handle a maximum of 500 entries. a. Define the class Address that can store a street address, … | |
EDIT: Nevermind, I already found what was wrong; But I can't draw a card properly when I run it still. [CODE]import java.util.Scanner; import java.util.InputMismatchException; public class CardDealer //Main Class { public static void main(String[] args) { Scanner keybd = new Scanner(System.in); Deck deck1 = new Deck(true); int count = 0; … | |
The application will ask questions like: What comes after D? A child is expected to answer the question and the application will inform the child if the answer is correct or wrong. The application will ask a total of 20 questions. After all 20 questions have been answered, the application … | |
here i attached my question ... and i have done the first part and i stuck in the logic part ,can anybody help | |
Hi guys, I am still building the same Struts 1 app and having serious issues with getting ActionMessages to appear on my Jsp, if anyone can help I would greatly appreciate as this is my final year project and its due in 2 weeks, the Jsp is picking up the … |
The End.