2,443 Posted Topics

Member Avatar for Ambislm

Okay? You have an array somewhere with three elements (or less) meaning it has indexes 0,1, and 2, and you are trying to access index 3.

Member Avatar for masijade
0
97
Member Avatar for aliyesami

Check out the "eval" command. Edit: I.E. [code]eval "echo \$${AGENCY}_INCOMING_READY"[/code]

Member Avatar for masijade
0
127
Member Avatar for naziatarannum
Member Avatar for student_cs

[b]uploading images[/b] [url=http://lmgtfy.com/?q=Java+File+Upload]Java File Upload[/url] [b]db "connectivity"[/b] See [url=http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html]the tutorials[/url] [b]MS Access[/b] [url=http://lmgtfy.com/?q=DSNless+ODBC+MS+Access]DSNless ODBC MS Access[/url]

Member Avatar for masijade
0
73
Member Avatar for hdurina

[QUOTE=jbennet;381568]i didnt vote so not my problem[/QUOTE] This is way too late, but, if you didn't vote, then it is your porblem, and actually, you are part of the problem. If you don't vote, you also have no right to complain. Write in your own candidate if you have to …

Member Avatar for The Dude
-1
585
Member Avatar for mmeclimate

ArrayList (and this looks familiar. Did you post this same question on Sun? Yes.)

Member Avatar for mmeclimate
0
151
Member Avatar for varsha21

Well, I am sure someone can, but this is not the proper forum. Try an HTML forum? Or a JavaScript forum?

Member Avatar for masijade
0
70
Member Avatar for moyphus

See the API docs DatabaseMetaData. Good luck with the password, though. The JDBC Driver will not provide that info (or, at the very least, [i]should[/i] not).

Member Avatar for masijade
0
103
Member Avatar for P00dle
Member Avatar for P00dle
0
638
Member Avatar for jrosh
Member Avatar for ShuiYinDeng

Well, first off, why are you not using the Stack class, rather than a LinkedList? Also, rather than doing Temp.clear() create a new Stack and assign it to Temp, because at that point Input and Temp both reference the same List/Stack and so you clear the Stack/List referenced by both …

Member Avatar for masijade
0
113
Member Avatar for itsmekarthik

Or Andy Khan's jxl (Don't believe this works as of Office 2007, however). As last resort you can use the JDBC-ODBC Bridge.

Member Avatar for masijade
1
38
Member Avatar for kenji
Member Avatar for JamesCherrill
0
98
Member Avatar for jeniferandrews

[QUOTE=jeniferandrews;1052309]no i have not set the class path for this driver.... but even if i use the access database an exception is raised as "[microsoft] Invalid descriptor exception"[/QUOTE] Well, that's a different exception, isn't it? What does the one have [i]anything[/i] to do with the other? You need to print …

Member Avatar for jeniferandrews
0
323
Member Avatar for ManjuMidhu

So, waited until the last minute to do your project, huh? The bar's were just too tempting, huh? Well, good luck. We are not going to do this for you. Try rent-a-coder.

Member Avatar for masijade
-1
38
Member Avatar for nimesh g

We are [i]not[/i] here to do your (home)work for you. We are more than happy to [i]help[/i] you with it, but [i]you[/i] have to do it. Show us what you are trying and we will help you to correct it, or describe what part of the problem you are having …

Member Avatar for masijade
0
180
Member Avatar for geek_till_itMHZ

See [url]http://java.sun.com/docs/books/tutorial/deployment/applet/appletMethods.html[/url] You are missing the methods that actually count for anything. You want to move most of the stuff in your constructor to the init method and you want to define the other three.

Member Avatar for Ezzaral
0
240
Member Avatar for naziatarannum
Member Avatar for naziatarannum
0
113
Member Avatar for buffonomics
Member Avatar for StarZ

I'm afraid you are going to have find a support link at the site from which you are downloading.

Member Avatar for masijade
0
259
Member Avatar for saadismail85
Member Avatar for masijade
-1
161
Member Avatar for shashikant.v

by, instead of calling [inlinecode]javac <filename>[/inlinecode] calling [inlinecode]javac -Xlint:deprecation <filename>[/inlinecode] and letting the compiler tell you exactly what it doesn't like. The message, however, [i]is[/i] only a warning.

Member Avatar for masijade
0
204
Member Avatar for glendavis

The code [i]might[/i] help. However, marking your post as "URGENT" is [i]extremely[/i] rude. Suggesting that [i]your[/i] problem is more important than anyone elses and more important than anything we, ourselves, might be doing and so we should drop everything we're doing and concentrate on [i]your[/i] problem. Well, I'm sorry, but …

Member Avatar for masijade
0
104
Member Avatar for pinykifoi

Gladly. Show what you have, and let us know exactly what problems you are having with that.

Member Avatar for masijade
0
77
Member Avatar for iamsmooth

No. That 500 sets the initial size of the array that "backs" the arraylist, as well as the size of all subsequent arrays used to back the arraylist once it exceeds that size, but the "indexes" are populated from front to back and are not "immediately" available. If the arraylist …

Member Avatar for masijade
0
97
Member Avatar for kolibrizas

Java does not [i]have[/i] an Eval. You would have to either parse it and perform actions logically, or you would have to create a class "on the fly", either with BCEL (Google that) or by generating and then compiling code, or you can look into the scripting engine support in …

Member Avatar for masijade
0
93
Member Avatar for kjiu

Find out what it is suppossed to be doing and reprogram it in Java. Trying to achieve a 1-to-1 translation is an exercise in futility, and, even if you do get it to run, it is not likely to be at all performant.

Member Avatar for masijade
0
84
Member Avatar for yakovm
Member Avatar for masijade
0
88
Member Avatar for feoperro

Simply connect and catch the exception. On an exception, it is, seemingly, not running, or not running properly. Use HttpURLConnection and connect to the [i]actual[/i] site and you can even check the returned http codes (i.e. 404, 501, etc).

Member Avatar for feoperro
0
118
Member Avatar for DanieL34749

Well, you are doing your recursion wrong. Do you really want to recurse before printing the first character (which you're not doing anyway since the recursive method doesn't return anything), and then recurs [i]again[/i]? You need to println charAt(0), then recurs substring(1)

Member Avatar for mrnutty
0
70
Member Avatar for ramjeev
Member Avatar for masijade
0
194
Member Avatar for muraliinfy04
Member Avatar for Ashutosh shukla
0
704
Member Avatar for Mattpd
Member Avatar for Xydric
0
124
Member Avatar for P00dle

Seems as though it is Strings stored in the map and that the map was declared using generics. So, why are you trying to use a String as a List? IOW, what is in the map and what are you trying to do here?

Member Avatar for P00dle
0
186
Member Avatar for nojtb

Why don't you try it and find out? I'm sorry, but you claim to be jumping into Java quickly, on your own, because you already know a couple of other languages. Well, I need to ask, what "other languages" do you know? Because in that thread you had no idea …

Member Avatar for valy0017
0
271
Member Avatar for tootaa
Re: java

Okay? And your question is? Just so you know, we are [i]not[/i] going to do it for you.

Member Avatar for masijade
0
148
Member Avatar for kulrik
Member Avatar for jrosh

Read the result into a two-dimensional array and then use [code] ((DefaultTableModel) jTable.getModel()).setDataVector(<2darray>, <columnNames>); jTable.repaint(); [/code] Edit: P.S. Since you cannot, reliably, know, beforehand (without some futzing around), how many rows the resultset contains read it into a List<String[]> and then use List's toArray method to get the List as …

Member Avatar for masijade
0
77
Member Avatar for whizkidash

$file_name, not file_name ditto for the other variables use "sed -e" not just "sed" and change $file.new to ${file}.new just to be safe Edit: So many problems, so little text. ;-)

Member Avatar for sknake
0
117
Member Avatar for skiplatte

Then also check with [inlinecode]if (newRPos < protString.length)[/inlinecode]. Also, is there any guarantee that input.length() is going to be larger than newRPos, as both of those are indexes (i.e. a start index and an end index) not a start and length, and I don't know how substring reacts if the …

Member Avatar for masijade
0
96
Member Avatar for P00dle
Member Avatar for k2k
Member Avatar for abalasuriya
Re: Java

No it doesn't. Does the real class maybe have a constructor? And does that constructor maybe also call new on itself? If so, what do think will happen if every call to new results in another to call new?

Member Avatar for MoZo1
0
116
Member Avatar for hanzooi

[url]http://java.sun.com/docs/books/tutorial/uiswing/components/button.html[/url]

Member Avatar for hanzooi
0
115
Member Avatar for jrosh

Add a System.out.println(System.getProperty("user.dir")) in there. Otherwise use the search function for the OS. But, the [i]best[/i] way is to provide the full path to the file from the beginning. Why simply deal with defaults that can change due to configuration and/or operating parameters when you can [i]control[/i] the operation.

Member Avatar for masijade
0
394
Member Avatar for jakx12

You don't load the jar, you load the Driver class and include the jar on the classpath. See the [url=http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html]Tutorial[/url] and the MySQL [url=http://dev.mysql.com/doc/refman/5.4/en/connector-j-usagenotes-basic.html#connector-j-examples-connection-drivermanager]manual[/url] for MySQL specific examples

Member Avatar for masijade
0
528
Member Avatar for YingKang

So use a JTextArea, then, instead of using System.out.print or println, you use the JTextAreas append.

Member Avatar for masijade
0
198
Member Avatar for skiplatte

Strings can, of course be values in a hastable, but what does that have to do with the rest of the question? What do you mean by "method generated Strings" and "plug them into another method"? Also, whatever it is, HashMap would probably be a better choice than Hashtable, unless …

Member Avatar for masijade
0
103
Member Avatar for gsingh2011

Considering that you mentioned "email2.php", I assume you are running this from a hosted server? Well, does the "jar" run from the server? You say the "jar" worked, do you mean locally, or from that hosted server. Because I have the feeling that your site provider's firewall is refusing the …

Member Avatar for masijade
0
188
Member Avatar for COKEDUDE

Wrap the thing from that point on in a [inlinecode]while (!phrase.equals("quit")) {[/inlinecode] loop.

Member Avatar for COKEDUDE
0
199

The End.