3,927 Posted Topics

Member Avatar for whoost

If you look at the Project Details section, there is an attribute Programming Language. This will tell you what language the project is written in and therefore how you would need to compile it.

Member Avatar for whoost
0
129
Member Avatar for j3p0yz

Also, it has been requested of the poster that he use code tag at least 5 times and yet he still refuses.

Member Avatar for Ezzaral
0
89
Member Avatar for anibio

Directly from the API doc for Calendar class... [quote] Like other locale-sensitive classes, Calendar provides a class method, getInstance, for getting a generally useful object of this type. Calendar's getInstance method returns a Calendar object whose calendar fields have been initialized with the current date and time:[INDENT] Calendar rightNow = …

Member Avatar for anibio
0
91
Member Avatar for dcc

Yes, the pork-barreling is deplorable, but unlike the aircraft thing at least most of those projects do get completed and benefit someone (roads, bridges, etc). I just still cannot believe they are allowed to attach completely unrelated expenditure items like those to a bill they know must pass.

Member Avatar for jbennet
0
183
Member Avatar for mody2007

Yeah, I wasn't sure if he wanted to display/parse a special symbol or implement something like operator overloading. If you (mody2007), are wanting to overload an operator, Java does not provide any facility for that. You have to use class methods for things like that.

Member Avatar for iamthwee
0
122
Member Avatar for Elfshadow

We switched over to SVN about 6 months ago from VSS and like it a lot better. Not having locked "checked out" files has really made things much easier and it's pretty rare that we even have to manually resolve a merge conflict. Very nice to work with.

Member Avatar for Ezzaral
0
85
Member Avatar for tech291083

[quote=umat_gila;385623][I]Ill try to answear the question there…[/I] 1. Are programmers the most frustrated lot among all the IT professional in the recent years? Nope, because its just a some option for all off u to keep stay exist. in this case not only in IT’ers too but in every section …

Member Avatar for Ezzaral
0
191
Member Avatar for amtallah

The following link should provide applets A to Z: [URL]http://www.google.com/search?q=applet+tutorial&btnG=Search&hl=en[/URL]

Member Avatar for Ezzaral
0
105
Member Avatar for rdhiravani

If they are constants, you can declare them "static final" and they will only be allocated once and directly inlined into expressions. Also, if you need high performance concatenation of many strings ( as in your "String str = v1 + v2 + v3;" statement), use a StringBuffer instead.

Member Avatar for jwenting
0
136
Member Avatar for pabz_sarquilla

Also consider that Sun has a ton of online Java tutorials for free.

Member Avatar for pabz_sarquilla
0
103
Member Avatar for Sp!ke

I don't think we can provide any insight without seeing the panel and frame classes. On a side note, your may want to reconsider your design in making everything static and trying to manage the interactions by calling static methods on the objects. The main method should really only be …

Member Avatar for hussulinux
0
102
Member Avatar for alpha_gamma

It's worth noting as well, that if the recruiter is ignoring your C++ experience and pushing you to get Java certified when you do not have any Java experience, then the recruiter is probably worthless. Making a recommendation to learn Java because there are a lot of employment opportunities is …

Member Avatar for jwenting
0
99
Member Avatar for ssimkhan

Well, since it is homework, I'll just give a general tip and let you figure the rest. Make each of your operation classes extend Thread. This means they must all implement a "run()" method. I think you can figure out how that applies to what you are aiming for. I …

Member Avatar for Ezzaral
0
221
Member Avatar for katerinaaa

Actually, you should use the split() method of String instead of StringTokenizer and use regular expressions to remove text that you do not wish to include. Split will split your string by whatever delimiter you specify and return the parts as a string array. Regular expressions will allow you to …

Member Avatar for Ezzaral
0
172
Member Avatar for Jishnu

Function arguments in Java are by value, however, since object and array variables are references themselves, they are effectively by reference (sort of). Objects and arrays passed as parameters can be modified by the method, but the reference itself cannot be changed. This means that a function doSomething(Object someObject) can …

Member Avatar for jwenting
0
118
Member Avatar for alicebee
Member Avatar for joshSCH

First let me say that I haven't written any apps to do this myself, so perhaps there are specific libraries that make these things much easier, but basically you are just talking about communicating through a socket via http. In your login case, a POST would need to be sent …

Member Avatar for peter_budo
0
190
Member Avatar for tralfas

It appears you have copied the code from the actionPerformed() method directly into the itemStateChanged() method. The parameter to itemStateChanged function is "ie", not "e" as it was in actionPerformed. Even if you change the "e" to "ie", the code will still not work since getActionCommand is a method of …

Member Avatar for Ezzaral
0
138
Member Avatar for Gorilla

Use a BufferedWriter instead of DataOutputStream. You created a BufferedWriter like so: [code] BufferedWriter writer = new BufferedWriter( new FileWriter("myFile.txt") );[/code] The tutorial that peter_budo linked should provide any other info you need on usage.

Member Avatar for Gorilla
0
102
Member Avatar for dorothygael

This forum is actually for Java language programming. Your error seems to be related to settings on your particular browser. I would recommend putting the exact message you are getting into Google and reading those forums that are coming up.

Member Avatar for Ezzaral
0
81
Member Avatar for Ospreyluvr

There should be a ton of tutorials on the Net for both of those. I would recommend Googling for them. You might also want to check out [URL="http://www.gamedev.net/"]http://www.gamedev.net[/URL].

Member Avatar for Ospreyluvr
0
117
Member Avatar for shriyash134

There are two commands available on a File object to create a directory. File.mkDir() will create just the directory specified by the File object. All parent directories must already exist. The second method, File.mkDirs() will create any necessary directories to create the entire path specified. [code] // if ParentDir exists, …

Member Avatar for Ezzaral
0
195
Member Avatar for Ospreyluvr

Without a doubt, start with 2D if you are not already familiar with game programming concepts and graphics programming.

Member Avatar for Ospreyluvr
0
156
Member Avatar for sportbear

Well, since you don't include the Deck class, it's difficult to see the whole domain, but a couple of things stand out. First, make the Deck class responsible for it's own Card collection. Your applet shouldn't have to push things into the Deck. The Deck will have a maximum of …

Member Avatar for iamthwee
1
145
Member Avatar for san_fran_crisko

You haven't specified any text for your menus. Use the constructor [code]JMenu gameMenu = new JMenu("Game");[/code] and you will have a top level "Game" menu. Add the text for the other items and you will be set. Also, you can ditch the getContentPane().add(topMenu). The setJMenuBar is sufficient.

Member Avatar for san_fran_crisko
0
164
Member Avatar for the_python

Actually it was a totally pointless resurrrection of a 4-year-old thread with nothing of value to add. I deleted the post and am closing the thread.

Member Avatar for jrcagle
0
5K
Member Avatar for adisha
0
76

The End.