4,084 Posted Topics

Member Avatar for 2beprogrammer

no doubt there are ways that you can implement a google search in your application. tried that?

Member Avatar for 2beprogrammer
0
97
Member Avatar for annieshvijay

giving an answer implies that a question was asked .... next to what tux said, this seems like a bit of a school assignment. so far, you haven't even shown that you know how to create a class or write a method. that is the very (very) least you should …

Member Avatar for G_S
-5
100
Member Avatar for amaicahglyne.decastro

well ... this has pretty much ... nothing to do with java ... do you have any experience in programming? and what do you mean "would not open completely in the computer"?? since you are posting this in the java forum, are you considering writing it in java? the basics …

Member Avatar for JamesCherrill
0
96
Member Avatar for sunnyy221

but don't forget, by implementing interfaces you don't really inherit anything, so Java doesn't allow multiple (interface) inheritance through interfaces, it simply allows you to simulate multiple inheritance.

Member Avatar for peter_budo
0
207
Member Avatar for ynmly

for a JButton, attaching a simple ActionListener would help you out a lot.

Member Avatar for stultuske
0
187
Member Avatar for bangla

a question which has ... what exactly to do with the original question? might want to try google. [Find IP using javascript](http://stackoverflow.com/questions/391979/get-client-ip-using-just-javascript)

Member Avatar for rotten69
0
218
Member Avatar for bilal_afzal

there's another mighty fine search function as well... it's called google. this is not programmers-for-hire, nor a "gimmeh tha codezzz" forum. please read (and respect) the community rules.

Member Avatar for peter_budo
0
85
Member Avatar for garyjohnson

aggreed. if you are just using html, then you have to hardcode the links to your images in the pages, very easy, but useless if you want users to be able to upload their own albums/images. php is an option indeed, another way to go is jsp/jsp with servlets, ajax, …

Member Avatar for garyjohnson
0
277
Member Avatar for agca

not to mention that if you are only doing "noob stuff", using an IDE is the worst thing to do. you had better start of with notepad and the command prompt, in order to learn what the IDE is doing "behind your back". it's also best to learn to write …

Member Avatar for agca
0
227
Member Avatar for Toni Rahman

coffee, a city, an island, a programming language, ... the answers to your question are legio. if you mean you want to get to know the programming language, [this thread](http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq) and [these tutorials](http://docs.oracle.com/javase/tutorial/) are a good place to start.

Member Avatar for stultuske
-3
147
Member Avatar for jonathan.gardner.58

especially when starting new, you shouldn't use an IDE. first learn the basics (the what, how, syntax of the language, ... ) and only then start exploring with an IDE. a lot of people that just start with IDE's tend to forget to learn about the stuff that the IDE …

Member Avatar for diafol
1
142
Member Avatar for cristian.stilpeanu.3

have you tried: <center> <input class="bar curved5" name="user" type="text" id="user" maxlength="16" value="" onFocus="change(1)" class="validate[required,custom[noSpecialCharacters],length[5,16]]" /> </center> ?

Member Avatar for cmps
0
515
Member Avatar for divyakrishnan
Member Avatar for myethan

jalpesh: yes, off course you can use scriptlets, but that's about the worst you can do. it's way better to learn how to work with servlets.

Member Avatar for stultuske
0
76
Member Avatar for Pobunjenik

well ... as for difference between "gui" and "code level" ... you do realize you 'build' your gui by writing code heh? :) the best thing for you at this point is to learn to work with the api's, whose main page you can find [here](http://docs.oracle.com/javase/7/docs/api/). For all the classes …

Member Avatar for JamesCherrill
0
433
Member Avatar for jeffbeck8

it doesn't need extra formatting. read every line as a String, and use the split method to extract an array of Strings for each line. as long as you know what each element should (be able to) do, and is ..

Member Avatar for jeffbeck8
0
162
Member Avatar for bsunkel

and, if you answered this seven years ago, it might even have mattered to the original poster.

Member Avatar for sdasdasd
0
8K
Member Avatar for vikarna

and, do you have something already? neither reading from a .txt file, or writing to excell is brain surgery. what have you got so far?

Member Avatar for peter_budo
0
2K
Member Avatar for alaky

nextElement(ZipFile.java:322) check that line: Zipfile.java, line 322, which is in the method nextElement. it looks like a message variable you're using there isn't instantiated yet.

Member Avatar for stultuske
0
211
Member Avatar for kjetyey4

you forgot to mention what you're having trouble with. what is your actual question, and I don't mean: re-post your assignment.

Member Avatar for john.w.austin.39
0
212
Member Avatar for Neversleepin

operationsPrioriteToDoListModel = dyndefn.getOperationList(); most likely because you didn't instantiate dyndefn, but that's impossible to say based on the code you show.

Member Avatar for stultuske
0
108
Member Avatar for dksinghcomnez

depends. which one are you interested in? I assume OCPJP? check Pearson Vue, but I assume you can find all the information you need on the Oracle website.

Member Avatar for peter_budo
0
189
Member Avatar for zlloyd1

Radhakrishna: why should that class implement ActionListener? the way he does it works just as well.

Member Avatar for JamesCherrill
0
929
Member Avatar for Darshan5

what do you mean "in netbeans only"? you mean using the gui builder? in that case, I would advice against it. it'll generate crappy code that's near to impossible to maintain (in a good way). what ide you use is irrelevant. use the setVisible method.

Member Avatar for stultuske
0
129
Member Avatar for sandeepyadav

probably, just not here.if you read the community rules, you'll understand why.

Member Avatar for Patil Raj
0
89
Member Avatar for runlevel3nut

how javascript relates to java: not at all. maybe the same way a bycicle relates to a Boeing 747: they're both transportvehicles, or, in our case, they're both languages you can write code in: javascript, as the name itself says, is a scripting language, while java is a programming language. …

Member Avatar for runlevel3nut
0
290
Member Avatar for dksinghcomnez
Member Avatar for Taywin
-1
60
Member Avatar for ruthvik.vijaykumar
Member Avatar for stultuske
0
143
Member Avatar for tingwong

No 4 also depends whether or not there is a super class which contains an implementation for a method with that name. No 17. True, if (and only if) we are talking about SIMULATING multiple inheritance, since you're not actually inherriting anything.

Member Avatar for stultuske
0
301
Member Avatar for marzii

add print statements: System.out.print("my output"); System.out.println("my output and next line");

Member Avatar for stultuske
0
101
Member Avatar for meowmonkey

that makes no sense. either it has a fixed length (the int you pass) or it might be cut off.

Member Avatar for NP-complete
0
242
Member Avatar for miguel.honrada.pwned.you

on which line do you get that error message? you are using classes and methods we can't know, so how do you want us to validate the above code?

Member Avatar for stultuske
0
206
Member Avatar for iamlaw

pass the information as parameters, either to the constructor, or to a method.

Member Avatar for RockJake28
0
189
Member Avatar for SMYussef

if it is another question, about another topic, it is best to start a new thread. but shortly, there is no loop in the above code (which isn't even complete) so how can we check what might be causing the infinite loop?

Member Avatar for stultuske
0
135
Member Avatar for Galbatorix
Member Avatar for jalpesh_007
Member Avatar for riahc3

for questions about UUID you should check [here](http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html) also: if you want it to be 100% ... hard to do, especially without some additional coding from your part. as you probably know, there are collections that don't accept doubles, so try storing all the so-far existing keys in one of …

Member Avatar for jalpesh_007
0
415
Member Avatar for Kronolynx

I hate it to tell you, but that wasn't per se the problem. the problem was that your value in the JTextField t1 wasn't filled in. at this point, if you forget to put a (valid) value there, being a numeric value (no decimals) and not bigger (or smaller) than …

Member Avatar for stultuske
0
403
Member Avatar for nitin1

well ... a month is quite some time. the options are (almost) unlimited. start a small project on your own, learn a new technologie/framework/ basics of another language, get certified, go out and have one hell of a party (it's much more fun being hungover if you don't have to …

Member Avatar for nitin1
0
526
Member Avatar for amit.hak50

hello Ritz ... welcome to DaniWeb, but you might want to take a couple of seconds reading the rules of this forum: just the heads-up on a few major ones: 1. 'as soon as possible' as you put it ... do remember, it's not urgent to us. 2. do not …

Member Avatar for JamesCherrill
0
837
Member Avatar for nitin1
Member Avatar for zakiraimanaz

if you want to use netbeans, I doubt you'll "write" it, rather generate the code. (bad way to learn how to code, btw) to quote the page you are linking to: > Select Windows > Palette to open the Palette if you don't see it. You use the Palette to …

Member Avatar for stultuske
0
181
Member Avatar for minimee120

also: before making the choice to use StringTokenizer, read this line from the StringTokenizer api: > StringTokenizer is a legacy class that is retained for compatibility reasons although its use is discouraged in new code. It is recommended that anyone seeking this functionality use the split method of String or …

Member Avatar for minimee120
0
269
Member Avatar for mrnutty

well .... I'm going back in time now.... you'll know if I've succeeded if Tuesday comes after Monday, and Romney didn't win the elections. wish me luck ;)

Member Avatar for mrnutty
0
240
Member Avatar for subramanya.vl

the most used way (in code that I've seen so far) is a bit different. also, I would keep the instance as a private variable. public class MySingleton{ private static MySingleton instance = null; private MySingleton(){ } public static MySingleton getInstance(){ if ( instance == null ) instance = new …

Member Avatar for stultuske
0
167
Member Avatar for crownedzero
Member Avatar for stultuske
0
147
Member Avatar for ocw91

what errors do you get? when do you get them? is the error that occur an actual error, or unexpected behaviour.

Member Avatar for stultuske
-1
200
Member Avatar for harinath_2007

looks like it can't find the .jar files you have added to the classpath of your project. when jarred, it still needs to find those classes in order to use them.

Member Avatar for stultuske
0
353
Member Avatar for Red_Rain

what is the error message? EDIT: if this is your first Java code, you're going at it wrong. you're trying to write Swing code, why you should start off with the basics.

Member Avatar for mKorbel
0
666
Member Avatar for harinath_2007

you're looking at the whole too limited. one class on itself is ... nothing. it's like you want to ask someone in what kind of home he prefers to live, and you ask him to choose one single brick. you should consider the complete. so, in this form, rather a …

Member Avatar for harinath_2007
0
348

The End.