35,617 Topics
![]() | |
> Write a method that converts its String parameter so that letters are written in > blocks five letters long. For example, consider the following two versions of the > same sentence: > > Plain: This is how we would ordinarily write a sentence. > Blocked : Thisi showw ewoul … | |
i want to export list of DATA from my JSP page(code) to a pdf file... plz.. give me idea about it or sme example code in jsp that exports list of data from jsp page to pdf file.... thanks | |
Hi, I Had to complete a task of program on networking in java. they are 1) the program as to read the MAC address, IP , and the computer name in the network 2) Program to know what site is the user is surfing in the network Please give me … | |
I am designing a web application For running Automated test.I record the flow of an application (say yahoo.com) using Selenium IDE and exporting the test suite to java.So now i have a file For example login.java.The application i am creating is like i will have a browse button.i will browse … | |
Hey guys, Been awhile since I've done any JAVA, so I'm looking for some help. I'm trying to implement a recursive descent parser with three terminals ( @ , ?, @@). I could use some help on a couple issues: 1) The @ operator is supposed to be a unary … | |
i would like to know what digits of ipaddress define. suppose ipaddress of 192.168.0.59 what these numbers 192 ,168 , 0 ,59 defines. does they have any value?? | |
Always get warning when using raw type Lists/Sets/Iterators etc. [code] public java.util.List /* <-- Warning here */ getUsersByAge(int minAage) { org.hibernate.Query q = session.createQuery("from User u where u.age >= :minAge"); q.setInteger("minAge", minAage); return q.list(); /* <-- Warning here */ } [/code] I've chaged this by [code] public java.util.List<User> getUsersByAge(int minAage) … | |
Basically, I was wondering how I could read a text file (Transactions.txt) which will have one number per line(ex. 2000 on one line, 25 on another). This number is either a deposit or a withdrawal to a checking account. The program should read the Transactions.txt , then write the deposits … | |
Hi, I have opened Internet Explorer by using Process p = Runtime.getRuntime().exec(browserCommand+" " +url_name); Now I want to know how to close opened internet explorer using java program I used p.destroy() method, but it's not working. | |
This program is suppose to allow the user to enter a student's name and (4) scores via GUI, instead of Scanner class. The class is to use a String array for 5 names, an array of 5 characters to hold letter grades, and 5 arrays of four doubles for each … | |
I'm trying to get character "2936" printed out ( it is the arrow on your big Enter of the keyboard) as seen in Unicode charts [URL="http://unicode.org/charts/PDF/U2900.pdf"]Supplemental Arrows B[/URL]. However it does show as question mark. Suggestions? [code=Java] public class PrintCharacters { public static void main(String[] args) { String[] one = … | |
In php file I write ; echo "<meta http-equiv=Refresh content=0;url=login.html>"; Here i load a login.html file. Along this i want to pass a php variable(suppose $nflag) content to login.html file, so that i can use it in javascript within login.html file. Please Help me. | |
I need to finish this assignment by tonight. I have been working on it for the last five hours and I am completely stuck. Any help would be greatly appreciated! I have already talked to my teacher, but she is awful. No help at all. This is what I have … | |
yet again right? Ok, so this time, the task is to write an application that asks the user for his or her birth date and replies with the day of the week on which they were born. So here is the code i have. [ICODE] package Ch2Scanner; import java.text.SimpleDateFormat; import … | |
how do i declare a scanner object, filescan publicly so that i may use filescan in varios functions i found this statement in a forum----> private static Scanner scanner = new Scanner (1 3 4 4"); when I modified it to-----> public static Scanner filescan = new Scanner(new File("inputdata.txt")); //declared … | |
Hi ... [ Need ur suggestion NOT code .... ] This is one part of my assignment .. I need your help on how to do this . Below is my short description of my problem ... I have two classes Named Passenger class and container class . Passenger class … | |
Hi All, I have some log messages and sysout statments in my java code. I am executing my code through a shell script. I could able to see all my sysout statments since I have redirected stdout message to a file. Now I need to see the log messages to … | |
Differentiate switch and if statements in java. Explain nested switch with example. how can we use break as a form of GOTO statements | |
:'( please help.... can you give me a full program of a game using java? i don't know it... please give me some idea... give me game program, the important is it is a game... please thank you and God bless!! | |
I have to create a program to calculate the number of years it will take to become a millionaire if i invest a certain amount and receive interest on it. I need a little help on how to start it, the only thing i have so far is we have … | |
| |
my class has an enum definition as property, and an enums type array as property like this: [CODE=java]public class GameBoard implements Serializable , Cloneable { private final int N = 8; public State[][] Board = new State[N][N]; public enum State { empty,player1,player2; }[/CODE] i want to write a clone method … | |
Hi, i am facing a problem with storing data into linked list. I have previously store the data read from the text file into an array but now my assignment require me to store all this record into a linked list. Can anyone help? May i know how to do … | |
How to create this table : Yellow Balloons [INDENT] [/INDENT]Cat Red Apple [INDENT][/INDENT]House Blue Jeans [INDENT][/INDENT]Tie Instead of this kind of table: Yellow Balloons Yellow Cat Red Apple Red House Blue Jeans Blue Tie | |
I've created a jsp that will download a file for the user when its loaded. When this file is downloaded and opened, the end of the file contains this funny character - [B]ÿ[/B] Does any one have any idea how to remove this character or prevent this from happening. Here's … | |
hello guyz,,who knows how to tokenize???i mean,,i am about to start to make "String Calculator" but i don't know how to tokenize,,,do you know any sites that could explain best about tokens??thank you ahead,,,, | |
I am determining what method to call by using the runtime class. My problem is whenever I pass in a null object, obviously it will throw a null reference exception. How are you able to determine at runtime the class of a null object. Although its null i need to … | |
hi im new to java and just need a little help in the right direction. I am trying to display an input of int on number at a time. So for example the user would enter 1998 and the output would be: 1 9 9 8 and we have to … | |
Hi, My problem is that I need to tell class A to repaint, but from class B. Class B will be a thread that updates components of class A and will eventually tell A to repaint. The basic idea of my code is as follows: [CODE] class A extends JPanel{ … | |
Hello, Im planning to design a software that will send SMS to a group of numbers. Users will be able to create unlimited group and add unlimited numbers. It will work same as Nokia PC Suite SMS Sender. Just connect mobile to PC, Open application, Select Group and send SMS. … |
The End.