No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
24 Posted Topics
Re: what ever ur if can stand the time it's great......... somethings we will consider as great just like windows.... but after some time world will ask u wat's dat .if dy havn'y made a mark. so the difference is between the ability to stand high or not the only answer … | |
Re: [QUOTE=sandesh_daddi]hi friend i am not telling to how to code in java because i m also new to java i am doing my MCA in pune (INDIA) in FIRST SEM i m ne wto this programming :D i want to know that how to post my quries to every one … | |
Re: [QUOTE=ecyarter]Can anyone tell me how to get rid of console window? I'm writing a gui program for an assignment... Spoiled by VB... I use the console for troubleshooting while testing or writing code, but would like to make it invisible or close it while sharing with the class. (We run … | |
hey guys, I have problem in printing from java i have used PrinterJob in awt but it's going mad sometimes . it's going to it's print method two times some times doesn't print anything the code is ========================================================= [code] import java.awt.print.Printable; import java.awt.print.Book; import java.awt.Graphics; import java.awt.print.PageFormat; import java.awt.print.PrinterJob; import … | |
Re: ************************************** Statement statement1 = con.createStatement(); **************************************** here is the problem u hav to give the query inside createStatement() like Statement statement1 = con.createStatement(string); then it'll work | |
HI, How can we print an MS Word document from Java ??? We can print .txt files, but while printing .doc, it gives junk chars in print out when we set DocFlavor docFlavor = DocFlavor.INPUT_STREAM.AUTOSENSE; I tried, 1.DocFlavor docFlavor = new DocFlavor("application/msword", "java.io.InputStream"); 2. DocFlavor docFlavor = new DocFlavor("application/vnd.ms-word", "java.io.InputStream"); … | |
I need to open a word doc template from a java application and i also need to dynamically update the fields in the template with some values from the java application.. Can anybody help me????...... Thanks in advance.......... | |
Re: [QUOTE=freesoft_2000]Hi everyone, Can i do this to create a platform independent file [code] String str1 = "C:\\abc\\efg.exe" File file1 = new File(str1); String str2 = file1.getCanonicalPath(); //Now i will the instance of str2 for any file streams [/code] OR THIS [code] String str1 = "C:\\abc\\efg.exe" File file1 = new File(str1); … | |
Re: [QUOTE=javaDumb]Hello all from javaDumb! I'm in my first java class and this is my first post so please be patient. I'm suppose to use StringTokenizer to search a document and replace some text, but the book for this course only explains how to print the text to the screen as … | |
Re: > hi everyone, > can anyone solve me the code for the java problem. > > > i need a java programthat holds twenty integers in an array, loop though each cell sequentially and prints each number on the console. > thank you very much. > > shantuli tht's very … | |
Re: [QUOTE=nazanin_dnr]Hi everyone I have written an applcation and now its the step that I want to make user authorization ! but I don't know any thing about it ! if anyone knows please introduce me some articles or please guides me ! thanx for your help[/QUOTE] If u want it … | |
Re: [QUOTE=tiberis]I have written source for TCP and UDP servers and clients(and they work), now I need to write a build file, please, please, point me in the right direction. I have no idea what a build file is. I've been out searching for info on build files and still don't … | |
Re: [QUOTE=mmr]Hi All, I am working with Internal Frames. I used JDesktopPane and added 2 frames to it. I made one frame visible and the other was setVisible(false). This happens when I first run the program(Only first frame appearing). Now, what I want is to make the second frame visible, when … | |
hi all Can anyone tell me wat is Synthetic field in Java if possible send me links also thankx in advance | |
Re: [QUOTE=server_crash]Here is how to reverse an inputed string, just apply it all to Int and you should have your program: class ReverseString [Code] public class ReverseString { public String reverse(String arg) { String tmp = null; if (arg.length() == 1) { return arg; } else { //extract the last char … | |
hey all what are pros of jdic ref avilable at java.net try this........................... | |
Re: do u know somthing abt java or using this forum for hw ............................................. | |
Re: >Ok i have gotten stuck on this program and I need help >This program is supposed to calculate the balance of a checking account after the user has entered the type of action (withdrawl, deposit) they would like to do. >My output should be a report that prints the beginning … | |
Re: [QUOTE=macca1979]Hey there, I'm new to java and I need to write a string that i generated in my code to an output file. I'm currently writing the string to the standard output like so : System.out.println("K_"+Receiver+",t"+msgnum+"(R(" +Receiver+",t"+msgnum+"("+out1+")))"); All the types e.g. 'Receiver' or 'out1' are of type string. Could anyone … | |
Re: hey please avoid the lazy procedural always use oops any way use BufferedReader br = BufferedReader (new InputStreamReader(new FileInputStream (new File("your file name")))) and use String str=new String(); while((str=br.readLine())!=null){ System.out.println(str); } it will print the whole file any more clarifications please write } | |
Re: [QUOTE=Azmat]Hello, Please send me the equivalent code for the following i.e the Database connecting code is written for MS Acess I want to know for Oracle. Class.forName("jdbc:odbc:dsnName"); Connection con=DriverManager.getConnection("jdbc.odbc.JdbcOdbcDriver","",""); can we use the same code(The above given) to connect to SQL Server. With warm regards, Azmat[/QUOTE] u can either give … | |
Re: [QUOTE=mkas82]I am a postgraduate student and I have exams in java language..I have some problems with 3 programs.Can anybody solve them for me?Can I send them to someone who loves Java?[/QUOTE] ask ........... free to ask............. |
The End.