35,618 Topics

Member Avatar for
Member Avatar for shlesha

i want to upload pictures in a folder rather then Mysql database ,please give me direction to uploading images in a folder

Member Avatar for fredrickme
0
113
Member Avatar for jemz

hello can you please help me on how to make the loading bar in java can you make this code..i have a program and i want to put a loading bar ..thanks in advance hoping for your positive responds.

Member Avatar for jemz
0
103
Member Avatar for adams161

i've written a game board currently but its minimal. i draw the board and then i've added two labels that i've postiioned off to the right side with setlocation. I dont know that set location will work as i add more controls so i'm looking for a better way. currently …

Member Avatar for adams161
0
121
Member Avatar for jogendar

i have created executable jar file for my program pedit.java as follows jar cvfm pedit.jar manifest.txt images *.class splash.gif where images is a directory where the icons for toolbar are there,as my program is a editor... my problem is that when i run the jar file the application is loaded …

Member Avatar for masijade
0
138
Member Avatar for sifounas

Hi to everyone, i am wondering which language (java or c#) can create more robust and scalable application including stuffs such as multiprocessing, multithreading, and of course speed???? Thanks, in advance!!!

Member Avatar for Salem
0
153
Member Avatar for jogendar

[code] String filename = jfr.getTitle(); File fname = new File(filename); System.out.println(filename); if(filename.equals("untitled")) { System.out.println(filename); return; } else { System.out.println(filename+"+"); } [/code] when i run the above code though the filename is "untitled",the statements under both if and else are been executed... is there any wrong in it??

Member Avatar for ahmed hashmi
0
81
Member Avatar for shiv0013

how to a add a number to current date? i want to add 14 to current date and dispaly in (yyyy-MM-dd) format. thanks in advance

Member Avatar for javaAddict
0
51
Member Avatar for jogendar

i am creating a text editor,i am using textpane in that,how to enable discontinous text selection in the textpane??

0
54
Member Avatar for rick12

I have very little experience in JSP but need to write a page that passes some parameters to another web page that will display one of two possible outputs: 1) an UUID (ex. 1UDID-3XSID-RT45J-D78DD) OR 2) -Invald Username and Password I need to 'catch' the output of this page and …

0
38
Member Avatar for StarZ

sooo i finally got the new "pop up" frame after a button is clicked. so than after the user clicks the button and new frame pops up i try to add some stuff and buttons to that new frame.. but it doesn't show. it's just a black frame. I don't …

Member Avatar for StarZ
0
3K
Member Avatar for ttnfrm

Hello everybody, I'm looking for a ready code in Java for JADE implementation of Bellman-Ford algorithm. I really need in developing Agent for the research. I am not an expert in programming. For anyone who has been developed or seen the Bellman-Ford algorithm source code in Java, I would be …

Member Avatar for Nick Evan
0
158
Member Avatar for P00dle

I'm reading a whole xml file in as a string. Some of the Node values are directories, e.g. "C:\" When I print out the string, to make sure that the file has been read in correctly, I see that it has completely ignored the Nodes that have directories in them. …

Member Avatar for P00dle
0
87
Member Avatar for heroes8453

this is my code. I have no clue what could be wrong with it. The error that keeps coming up is: class, interface, or enum expected. The five errors it pointed out are the 'v' in public void actionPerformed at the bottom of the code, the 'g' in the green …

Member Avatar for gunjannigam
0
92
Member Avatar for Waddiwassi

Hi, I'm in my second year of computer science and we're currently learning about design patterns. As part of this we have been given an assignment to include the Abstract Factory design. I'm having trouble understanding exactly how it fits together so I was wondering if someone could explain, in …

Member Avatar for Waddiwassi
0
172
Member Avatar for Dearster

Is there a function with the scanner class to allow for the user's input to just go on one line instead of two. I am using Scanner scan = new Scanner (System.in) with scan.nextInt and it is coming up with 10 4 and I want it to appear on one …

Member Avatar for fardoonmuhafiz
0
83
Member Avatar for Aamit

Hi..I am trying to connect oracle which is on my pc.i am using oracle 9i. i am creating 1 customer table & trying to display it. [code] import java.sql.*; import java.net.*; public class JdbcDemo{ public static void main(String args[]){ Driver d; Connection con; Statement stmt ; ResultSet rs; try{ d=(Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); …

Member Avatar for fardoonmuhaifz
0
361
Member Avatar for sifounas

Hi, i am a php programmer who has no previous programming experience neither in java nor in c#(sharp). My goal is to learn both languages java and c#, so i am looking for an experienced programmer who has in depth knowledge of both languages to suggest me which one to …

Member Avatar for JamesCherrill
0
131
Member Avatar for valatharv

Hi, I am looking for best approach to query db table and get corresponding values on the basis of Ids passed. I have ids in String array, please provide best approach for point (a) and (b), what to use ArrayList, HashMap, etc... so that there are minimum loops... Sample code: …

Member Avatar for JamesCherrill
0
117
Member Avatar for junezy4

I need to make a password in php and javascript (with html) so that if the user wants the password to be 6 digits long, then the password is y0z0z2z4z6y2z0z2z4z6y4z0z2z4z6y6z0z2z4z6… If the password is 4 digits long, then the password is y0z0z2z4y2z0z2z4y4z0z2z4. THESE ARE NOT RANDOM NUMBERS. There is a …

Member Avatar for Rashakil Fol
0
119
Member Avatar for JBeginer7891
Member Avatar for javaAddict
0
151
Member Avatar for jogendar

i have been searching about how to create an executable jar file, [url]http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html[/url] by seing the above site i have created a jar file,while double clicking the jar file an error saying that "jar file couldnt be loaded check for possible console errors" is being displayed,i had tried by downloading …

0
77
Member Avatar for jogendar
Member Avatar for masijade
0
55
Member Avatar for c_Newbie

Hi everyone, I hope im posting in the right section. I'm desperate searching for an algorithm which tells me the similarity between two java codes. Some kind of anti-plagiarizer. The algorithm I found were mostly written in languages like C# .. I'm trying to write it in PHP, even though …

Member Avatar for pritaeas
0
117
Member Avatar for jogendar

i am creating a text editor using java swings concept this is the code i am using to save a file jfr.setTitle(fname.getName()); FileOutputStream fop=new FileOutputStream(fname); fop.write(jta.getText().getBytes()); fop.flush(); fop.close(); where fname is the name given in save file chooser bye the user jta is the text pane in which the text …

Member Avatar for JamesCherrill
0
102
Member Avatar for Banderson

Hi, This will show you how to create a login form using swing. Please be aware that this form does not connect to anything. ( eg. A URL or a database) This is just a little advanced example of one of the many things you can do in swing. A …

Member Avatar for masijade
1
2K
Member Avatar for Merosansar

The form consist of three textfields and two buttons(add and show buttons). User enters the candidate first name and last name and the respective number of votes received in textfields.On clicking the add button the candidate object is created and the candidate object is added to the arraylist object. On …

Member Avatar for javaAddict
0
102
Member Avatar for dua khan

Hiz every1. i m beginer, i have to make a program of PERFORMANCE APPRAISAL. Please any1 can help from where should i take start .. Waiting for your replies

Member Avatar for masijade
0
54
Member Avatar for kring08
Member Avatar for javaAddict
1
197
Member Avatar for thariqrasheed

Please explain about the Right and Left shift operators in java.. I am new to programming concepts.. So please explain me with examples.. Thank you

Member Avatar for mrnutty
0
111
Member Avatar for sdzahed

Hi, Iam very new to XSLT and XML. I am trying to invoke a javascript function from inside my xslt documen. The javascript snippet is as follows: [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:js="urn:custom-javascript" exclude-result-prefixes="msxsl js" > <msxsl:script language = "JavaScript" implements-prefix = "js"> <![CDATA[ function compareCsvs (firstString,secondString) { var firstArray=firstString.split(","); …

Member Avatar for sdzahed
0
205

The End.