4,084 Posted Topics

Member Avatar for johnmecanse34
Member Avatar for stultuske
0
228
Member Avatar for Warrens80

<(°°)> <(°°)/ \(°°)/ \(°°)> <(°°)> (_|_) (_/_) (_|_) (_\_) Ö :p

Member Avatar for stultuske
-1
130
Member Avatar for kyriacos1986

it would appear there is a problem with your array, that there is no array. or, at least, there are no elements. have you tried printing the value of trackLength before creating the array? have you checked the number of elements your array has? I agree it's unusual for even …

Member Avatar for kyriacos1986
0
112
Member Avatar for sk8ergirl

now you are talking about multithreading? what do you mean by "loading"? uploading? reading txt files from your harddrive? what have you tried so far, and what exactly is it that you are trying to achieve?

Member Avatar for stultuske
0
140
Member Avatar for murali2489

which is ... clearly not the same. or you really messed up the formatting of what you tried. I'm pretty sure that if that tutorial was wrong, someone would 've pointed it out already. chances are you missed something in your configuration or tried to run two commands on one …

Member Avatar for murali2489
0
280
Member Avatar for Neon Tetras

you could use a bit more import statements, rather than using full names for your variables, and applying the same naming convention on your JButtons as on your other variables might make it easier to see in your code what is a variable and what a class of which you …

Member Avatar for stultuske
3
5K
Member Avatar for Benjamin_4

and why would exactly do you want this? are you planning to perform heavy mathematical instructions on your dates? and what is it you are having trouble with? getting the date from the datepicker, or converting it into an int?

Member Avatar for stultuske
0
24K
Member Avatar for hbhatti18

very new to Java? then do yourself a huge favour and first learn Java.

Member Avatar for arronlee
0
635
Member Avatar for Mr.M

Java is not really an appropriate language to write that. you'll have to communicate with the hardware, and within a jvm. the first is not really Java minded the second ... well, good luck in finding car stereo's, .... that have a jvm installed.

Member Avatar for JeffGrigg
0
137
Member Avatar for fuhanspujisaputra

this is not really a Java question, rather a sql question. you'll need to add a where clause to your select statement, linking the username in the db to the name of the logged in user: `select * from members where username like 'Nies'` a bit like that.

Member Avatar for stultuske
0
269
Member Avatar for Dearden

even though I can understand some of the comments made on AncientDragon's "GET A JOB" post, I think most of you don't really get what he's trying to say: if you are in a position in which you know for sure (100%) that you can hardly financially support yourself (and …

Member Avatar for Ancient Dragon
0
844
Member Avatar for harinath_2007

the fora being 'boring' ... well, they were meant to be (at least for me,as a user) helpfull, not a home-cinema system. the problem I would see of an integrated "live-chat", is that people that could answer tons of questions in a nick of time, might spend that time on …

Member Avatar for Dani
1
239
Member Avatar for nitin1

usually, you try to figure out whether the courses are worth taking before starting them. don't know much about their certification program, but I found [this review](http://www.skilledup.com/blog/coursera-certificate-whats-it-worth/)

Member Avatar for Lardmeister
0
263
Member Avatar for asif49

no offence ... but is this site perhaps www.youtube.com or www.imdb.com ? about each and every movie produced these days has murder, rape, ... let's face it: it's what the 'audience' expects. even if you manage to 'shut down' the site, within the day the contents 'll pop up on …

Member Avatar for Ancient Dragon
0
870
Member Avatar for tricket_7
Member Avatar for mattster

that would depend on what you need. are we talking about visual differences, functional differences, ...

Member Avatar for rhodoscoder
0
126
Member Avatar for shashidhargm

ehm ... create a new page, refer to that page on the existing one, and announce you won't be updating the old page.

Member Avatar for shashidhargm
0
176
Member Avatar for loveparadise

he wasn't talking about programming, rather looking at the api to see what methods you can use: just check the [api for BufferedWriter](http://docs.oracle.com/javase/7/docs/api/java/io/BufferedWriter.html) as James suggested

Member Avatar for loveparadise
0
370
Member Avatar for mk12345

https://blogs.oracle.com/moonocean/entry/a_simple_example_of_jni http://www.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html

Member Avatar for stultuske
0
56
Member Avatar for ram25244

... we aren't clairvoyants, we can't comment on your code without knowing your code.

Member Avatar for stultuske
0
55
Member Avatar for JohnOSull4021

you posted an awful lot of code, but it would be more helpful if you posted a clear description of what it is you are trying to do and what it is that's going wrong. calling a method from another class is exactly the same as calling a method from …

Member Avatar for stultuske
0
189
Member Avatar for sankubha

[this](http://stackoverflow.com/questions/6131037/how-to-make-an-uninstaller-in-java) might help you out. then again, so would just deleting the folder.

Member Avatar for stultuske
0
73
Member Avatar for PaulDel

http://stackoverflow.com/questions/9502569/how-to-convert-an-image-from-color-to-black-and-white-grayscale-in-java

Member Avatar for stultuske
0
326
Member Avatar for loody
Re: help

and, depending on how far it must go, add logic for thousands and hundreds. it's not at all difficut to implement, if you just want: 213 to be translated into two one three you can just print the elements of the array you already have by using the numbers-to-translate as …

Member Avatar for loody
0
224
Member Avatar for srikanth2321

save the files on the server, but not in the jar. that way, you can update it. but updating a running jar .. can't see any logical way how that would work without crashing the application itself.

Member Avatar for JamesCherrill
0
173
Member Avatar for anjijava16

sk8ergirl: don't spoonfeed, just explain the possible algorithms to go through. anjijava16: either sort the array and take the element with the second highest index, or iterate over the array for each element (if you really are not allowed to sort the array, which I doubt) until you've found an …

Member Avatar for stultuske
0
361
Member Avatar for skyyadav

run a sorting method on it. you can implement your own sorting algorithm and use that.

Member Avatar for JamesCherrill
0
92
Member Avatar for anisha.silva
Member Avatar for Benjamin_4
Member Avatar for murali2489

that depends... for which do you want to take the exam? a lot of companies are still using Java 6, so for most, the exam for 6 should prove more than enough. also, the differences between the exam for 6 and 7 aren't that "massive". once you've gotten the certificate …

Member Avatar for murali2489
0
177
Member Avatar for ankit.pandey3
Member Avatar for stultuske
0
210
Member Avatar for armani05
Member Avatar for stultuske
0
368
Member Avatar for praom2104

if you get no error message, how do you know it fails? it might just as well have reached a conditional statement and based on that don't run. or, you didn't set your classpath right, and your OS doesn't know what to do with your .jar file.

Member Avatar for praom2104
0
279
Member Avatar for rithish

actually, when you write `System.out.println("hello");` you already have it in a String. are you trying to work with input through the command prompt?

Member Avatar for stultuske
0
179
Member Avatar for anestistsoukalis

it would be a lot easier if you mentioned what those errors are. whether you use an IDE, and which one, for that matter, is completely irrelevant.

Member Avatar for JamesCherrill
0
167
Member Avatar for chdboy

what are you talking about, overlaping each String? what exactly is it you try to get?

Member Avatar for chdboy
0
199
Member Avatar for feafnae
Member Avatar for strongard63

also: sometimes you ask things none of us know anything about. I can randomly add jibberish answers to Threads that don't have any answers yet, would that help you further? it's impossible to put a time in which an answer should be provided, for a few very logical reasons: * …

Member Avatar for strongard63
0
214
Member Avatar for chdboy

why use `if (pj.printDialog() == true)` instead of a simple `if (pj.printDialog())` have you checked whether your code goes into that if block? did you debug your code?

Member Avatar for JamesCherrill
0
306
Member Avatar for asifalizaman

a few reasons 'spring to mind': 1. they've entered some kind of contest that is won by getting the most likes somewhere. for instance, you organize a contest where people upload their pictures, and those who 've gotten the most likes on the end of the week, wins. this causes …

Member Avatar for jobtardisportal
3
141
Member Avatar for cakka

the answer to your first question is basically the very first sentence in that pdf document. what you have to do is explained in the rest of the document. for certain parts, you are already given ready-made code to copy-paste.

Member Avatar for stultuske
0
184
Member Avatar for sulfurid

several things you should know: J2EE is out of date, update to the latest Java EE version. it's very nice you want to finish your application. this hints me that you have already started on it. unfortunately, you forgot to mention what it is you have already done, and what …

Member Avatar for StephenHero
0
196
Member Avatar for MrHardRock
Member Avatar for stultuske
0
904
Member Avatar for iTechnnn

well, have you debugged, added some prints at least? the discount is not changing because: you never update the value. could you be a bit more specific on what you expect as result?

Member Avatar for stultuske
0
2K
Member Avatar for orca_lee

this is a seven year old Thread. to quote the Beatles: > Let it be... if you have a question, start a new thread. also: provide more information on that Thread. and do realize that "its urgent" is usually a translation for "I didn't start in time, now I'm looking …

Member Avatar for stultuske
0
453
Member Avatar for eijnar

yo would also learn more if you don't go purely on the above snippets, but try to implement it yourself. just looking at what is being spoonfed doesn't learn you anything, step 1: analyse the problem step 2: understand the problem step 3: write the code step 4: test step …

Member Avatar for IIM
0
222
Member Avatar for edet4krist
Member Avatar for Edward_2
Member Avatar for zunairah

no. since you don't say what it is you want it to do. we can't help to improve the result, unless we know what the expected/perfect result is.

Member Avatar for JamesCherrill
0
209
Member Avatar for YakuzaJevin
Member Avatar for hag++
0
257

The End.