88 Posted Topics
Re: Have you tried placing another BMP file and then trying to delete it? There may be a problem with the specific BMP file. Just give it a try, and if it still doesn't get erased, re-post; and I'll see what I can do. | |
Re: When "New" is clicked, the question wants you to create a new employee entry. The employee number will be one higher than the existing number of employees present obviously. So what I suggest is that you get from the DB [unless you've already stored it somewhere] the employee no. of … | |
Re: So, what is the problem you're facing? I can't help you till you define your problem in lucid terms. In this forum, we won't [B]solve[/B] the entire thing for you. Tell me where you're stuck exactly. | |
Re: I agree with @teedoff. I recommend that you search for a friend who has experience in these matters, or else you're looking at a lot of time wasted on learning this stuff. The problem is in getting in the flow of it, once you do that; tags and all won't … | |
Re: I didn't quite understand what you meant by saying you want to install a Java database in NetBeans! If you're new to Java-Database programming, better check out: [url]http://docs.oracle.com/javase/tutorial/jdbc/index.html[/url] This'll set you on your way to DB programming. You don't "install" a database in NetBeans. I hope that makes it clear! … | |
Re: In my opinion, you should find this code self-explanatory. [EDIT: This is not a spoiler, just another way of doing it. Do it yourself once to get the hang of it.] Oh, plus this code does not handle decimal points. If you want to tackle decimal points too, just split … | |
Re: If you can explain what it's use is... | |
Re: It's their way of earning a quick buck. Earlier, I expected an out-of-court settlement. Either Google was willing to do that after being intimidated by Oracle and Oracle took the extreme step in the want of some more cash, or Google didn't get intimidated by Oracle's legal notice and decided … | |
Re: As @zeroliken said, there was no need for the choiceA, choiceB, choiceC, and choiceD variables. Other than what he said, I don't see anything wrong with your code. You should run it once and check it out! :) | |
Re: Surf around the net... Google is your best friend, and remember that some websites out there will provide you images as Freeware. | |
Re: Hey there! Can you please give us a working link of a practical example of your code? That would prove very useful in helping you as then I can edit off my browser, and I won't have to erase every number that has been added. It would be a great … | |
Re: No, that isn't a viable solution. @ForceStr you may want to consider using the SwingWorker thread, it's for this use! [url]http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html[/url] They've even added a Progress Bar example! :) | |
Re: What your problem is that you're using relative positioning, so if one element disappears or reduces in size, the other layout is disturbed. This is a very common problem faced by web developers. What you should try to do is use absolute positioning in combination with stacking of elements using … | |
Re: Add it to the Google listings, put it next to your name. If you have a Twitter/FB account, promote it there. If you can spare a few bucks, give out sponsored results on Google. There's a lot you can do. | |
Re: Well, I guess he's asking for your opinion rather than choices. It depends upon several factors; for instance if you're developing software that does not interact much with the hardware and stays at the software level [if you understand me]; you might find Java easy-to-learn and powerful too. If you're … | |
Re: Try giving SCDGHFHFDHD as the input. If it works fine, then there's a problem when SCdgfgd is converted to lowercase. If there's a problem in that, then you should - A. Either trim the String and check with .equalsIgnoreCase() B. Convert it selectively after performing .toCharArray() on it. I'd suggest … | |
Re: There you go... [url]http://docs.oracle.com/javase/tutorial/sound/TOC.html[/url] Hope this helps! | |
Re: Please explain in a more lucid tone. And if you have another problem, @nandosss, start a new thread. | |
Re: CSS is better anyday, since it is more flexible than tables. CSS has been designed to replace tables as a layout system and you can adjust your data more precisely and with lesser difficulty than you can do with tables. Imagine creating table cells of varying heights and widths all … | |
Re: If you want to place a comment box on your website, JSP will be more than enough keeping in mind that you've to store all of the comments for future use. | |
I want to build a network protocol analyzer, but I really don't know where to start. Obviously, I don't want the code in hand, I can think it up myself -- but the problem is a little more specific - where do I look at to get the IPs passing … | |
Re: [QUOTE]Total java lines[/QUOTE] ".length" will give you the length in characters, and not lines. So if you want to read the number of lines, I guess you'll have to open the files one-by-one and increase the counter for each file by 1 each time you encounter a semicolon. Hope this … | |
The problem is, that I want to read data and analyze it from a promiscuous network device programmatically using java. Using existing software like WireShark/DarkStat is NOT a solution. I wanna do it myself. Any hints on where do I start? | |
Re: You might want to try out CSS3 transitions... [url]http://www.w3schools.com/css3/css3_transitions.asp[/url] | |
Re: So, basically, what you want to do is print out a string to the screen character by character? The simplest way to do so is to use a for loop and after every string, use the wait() function... [CODE]Thread.getCurrentThread().wait(1000); //Makes the program wait for 1000 milliseconds, i.e. 1 second![/CODE] Hope … | |
Alright, so I tried to write a little short guide on Object Input and Output to files, since the worst situation one can find themselves is being unable to serialize files in a proper and readable format. One way to do so is to create an object of a class … | |
Re: [QUOTE=47pirates;1763604]OK thanx. But isn't there any way to share data between java and python using Object input and output streams?[/QUOTE] You can't share a Java object with a Python file, because it won't be able to decipher it. You may want to look inside the readObject() code and try implementing … | |
Re: [QUOTE=cOrRuPtG3n3t!x;1763445][url]http://www.daniweb.com/software-development/java/code/408638[/url][/QUOTE] Yes, this one's quite useful. Just go through it and try to understand the logic behind the code. As for printing to files is concerned, just adopt a specific file format and save as per it keeping in mind that you have to read it later. You may want … | |
Re: [QUOTE=blake81;1762340]ChatBot Client: The client application will manage the chat between the end-used and the chatbot. The client is responsible for retrieving the end-user’s comment, passing it to the chatbot, and retrieving and displaying the chatbot’s response. The user’s or chatbot’s name should be used as the input prompt. Below is … | |
Re: Welcome :) | |
Re: If you want to implement private chat your system needs to be a little more complex than it already is. Obviously you can't send the message from one client to any random client, can you? The client will have to send the name of the client who needs to receive … | |
Re: You can get the time in milliseconds very easily... It's System.getTime... something. If you're using an IDE that gives suggestions, just write "System." and that func will come up. :) Hope this helps. | |
Re: If it has been solved then please MARK it as solved. Thanks! :) | |
Re: Whoa dude. You expect me or anyone else for that matter to go through this? And you've not even placed any comments! I can help you at one place, though -- An ArrayList is a sort of list of elements in which you don't need to define it's size. You … | |
Re: Line 7 is the worst error a human can make :) This won't help but I suggest to you that you go through "The Java Tutorials" ([url]http://docs.oracle.com/javase/tutorial/[/url]) once. :P :D :) :P | |
I need assistance in printing out a Quine. I googled it and stuff, but I didn't understand the code snippets I saw. Can anyone explain in a more lucid tone? | |
I'm writing a java program that adds event handlers dynamically on the go on instructions by the user. My problem is, that how do I basically add them? |
The End.