5,031 Posted Topics
Re: megha777, unfortunately nobody will "give" you this sort of code for free we can guide you but not otherwise >requirement files means jar files download java mail from here [url]http://java.sun.com/products/javamail/downloads/index.html[/url] You can read this post [url]http://www.daniweb.com/techtalkforums/thread43996.html[/url] have look at this sniplet [url]http://www.daniweb.com/code/snippet303.html[/url] or quick start at Java World [url]http://www.javaworld.com/jw-10-2001/jw-1026-javamail.html[/url] and … | |
Re: [QUOTE=sankarssps;374652]Please tell me how to do it in two pages. I use JSP,PHP and mysql. Thanks, Looking forward to your reply.'[/QUOTE] If you know JSP as you claim to know, then you would know there are servlets that are design to set connection with database and they are also able … | |
Re: Yay, why that green colour for software development? Also I do mis option to mark all posts as read in the section... | |
Re: yes you can, but be aware that if you use windows xp that can create unwanted problems. Windows XP does check for changes in hardware configuration and it may kick a message that you need to reinstal your system because to many changes been made to original hardware since system … | |
Re: here is an example how the red colour tags does not works properly, the green lines are suposed to be red, if you go to edit you will see that it has COLOR=RED [url]http://www.daniweb.com/techtalkforums/post369398-2.html[/url] | |
Re: Please Do Not Start New Thread If You Continue With Same Problem! Thank You | |
Re: wow it is realy laptop with AMD-K6®-2 processor at 400MHz? then it is about time to get new laptop the problem you described is related to your graphic card. Basicaly its broken and nothing to do about it. Usually it is case of cooling broken down but in many cases … | |
Re: Thendral, in my opinion you are complicating your work. Why not to have 7 images in array and then you have no need for additional calculations. Just find out which day of week is currently and call array position to retrive image. If you still feel funky then you can … | |
Re: [INLINECODE]public static void gogui()[/INLINECODE] you do not realy need this method as you can set L&F before in the main method. Your code would work if you called [INLINECODE]yay.GUIpart()[/INLINECODE]. Bellow is simpler solution. Remove [INLINECODE]public static void gogui()[/INLINECODE] and replace main method with code bellow [code] public static void main(String[] … | |
Re: I'm not expert on DB's but as far I know mysqli was designed to improve DB functionality. By the description which you gave it does look like your DB is set to use msqli and there for will not accept the other request. More info about mysqli setup, use and … | |
Re: [QUOTE=vinod_javas;368439]Hi guys.., Is any one knows how to print barcode using java code?[/QUOTE] Hello vinod, long time didn't see you around ;) To your question, same thing been asked few days back ([url]http://www.daniweb.com/techtalkforums/thread78303.html)[/url]. I recommend you use iText, very nice library and well documented | |
Re: Do some adjustment to your random generator that is generate number between 0 to 51(inclusive). Store values in array, when new value generated compare with array if already exist. If doesn't exist store it in array, else generate new number To get a card, here is pseudo code ( assuming … | |
| |
Re: Servlets and Java Server Pages [url]http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/[/url] and on same site tutorial on sessions [url]http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/[/url] but I will recommend to read basic about servlets and do JSP | |
Re: Line 12 is not a constructor | |
Re: Can you elaborate what you try to achive? Also please use proper English as the above is terrible | |
Re: Other thing which is there is layout, to arange components, gives you border and the heading on top of the panel Plus you can have tooltips for text field, but they not visible on image (if any) | |
Re: So what exactly is the problem? It does looks stright exercise... What did you done so far? PS: I hope you read the rules about homework [url]http://www.daniweb.com/techtalkforums/announcement9-2.html[/url] | |
Re: If you search for iText library for PDF in Java you got what you looking for. The library is not only capable of creating PDF from most images, text documents, HTM and XML but is able to do some barcodes work. Also there is very good documentation to it with … | |
Re: @[B]deng_cen[/B] please use tags to insert code into post. It is the hash"#" sign in toolbar above the text area for reply. [QUOTE]The [B]continue[/B] statement, when executed in a [I]while, for or do...while[/I], skips remaining statements in the loop body and process with next iteration of the loop. In [I]while[/I] … | |
Re: Please use proper english as what you wrote above is not understantable. So give it a go with proper explanation and post any supporting coding that you have | |
Re: [QUOTE=rmr;362549]In my opinion, Kaspersky is the best.. well,so far..[/QUOTE] Well you better read this blog entry [url]http://www.daniweb.com/blogs/entry1348.html[/url] this entry is also interesting [url]http://www.daniweb.com/blogs/entry1334.html[/url] I use F-Secure for pass 3 years, had no problems If you want to know more about your anti-virus software, I recommend to sign up with [url]http://www.virusbtn.com[/url] | |
Re: looks like :D I only play pc games, not having tv as i'm living temporary in UK, licence is expensive, tv too and not to mention consoles. Instead of paying huge money for console I build customized pc. Used to playC&C but now more team play with clan or friends … | |
Re: You better create your own post and explain there whats the problem, you do not need to open old post which wasn't a success Also will be good that you post any coding what you did so far | |
Re: You can check Sun tutorial on Swing [url]http://java.sun.com/docs/books/tutorial/uiswing/[/url] first chapter tell you about swing what i it, why to use etc, you can skip the second one about creating GUI faster with netbeans and jump on third which shows you how to do it from simple to more advanced | |
Re: Help will be provided when you give as problem to solve, but not whole homework | |
Re: Post the code, please use the hash sign "#" to post code, and provide proper description of problem | |
Re: Little pointless to post in the thread which is over 2 years old and author and some members are not active for same time | |
Re: Because there is no javax.servlet[COLOR="red"][b]s[/b][/COLOR] only javax.servlet, reference [URL="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/package-summary.html"]here[/URL] | |
Re: Had similar problem few months ago [quote] Strings are constant; [B]their values cannot be changed after they are created[/B]. String buffers support mutable strings. Because String objects are immutable they can be shared.[/quote] Basicly if you try to re-use structure which store String variables it will only remeber last entry. … | |
Re: Solution is hidden in this post [url]http://www.daniweb.com/techtalkforums/thread75492.html[/url] | |
Re: Maybe politics and religion should not be allowed on the forum, well that is my opinion... | |
Re: This sound more like self promotion, don't tell any one that it is his software | |
Re: Isn't enough to place an incomplete question on the forum? Do you have to spawn people with private messages? So what is your question? Looking at what you quick typed without thinking, you are supposed to creare program that will read a text file, count ocurence of each character and … ![]() | |
Re: if ( [I]number[/I] % 3 == 0 ) you get your number divisible by 3. Oviously you need to increment your [I]number[/I], you need to check that is smaller then 400 and then capture it somewhere Simple like that | |
Re: This will show warning message if condition meat [CODE] if(valueOfTheTextField != "what_I_want") { JOptionPane.showMessageDialog(null,"Index file not selected", "Warning",JOptionPane.WARNING_MESSAGE); }[/CODE] More info can be found here [url]http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html[/url] | |
Re: You posted in wrong section (JSP) post will be moved to HTML section To be fair never seen anything like this. What you may want to try is check what is stored in your html document on the server. Should be easy task with dremweaver if you use it. I'm … | |
Re: Not realy, pressed Go Advanced and I had to wait for2-3 minutes get advance options ;-( | |
Re: Hello world application using database strange here is link for jdbc driver [url]http://dev.mysql.com/downloads/connector/j/5.0.html[/url] | |
Re: For future please use hash "#" sign in the toolbar to insert code [QUOTE=volscolts16;351691] final JTextField [COLOR="Red"]totalChange[/COLOR] = new JTextField(FIELD_WIDTH); double [COLOR="Red"]totalChange[/COLOR] = Cost - payment; [/QUOTE] That is your problem, previously declared variable re-declared in defferent part of code with quick variable update [code] final JTextField totalChange[COLOR="Red"]JTF[/COLOR] = new … | |
Re: Will be nice if you can also provide [INLINECODE]cs1.Keyboard;[/INLINECODE] or this would be guess work and nobody will look at it | |
Re: java.lang.Math [url]http://java.sun.com/javase/6/docs/api/java/lang/Math.html#pow(double,%20double[/url]) Hope it does not requere any comment | |
Re: Check Java Glosary website for some info [url]http://mindprod.com/jgloss/ip.html[/url] | |
Re: I do not know how you can run this file when in the state as is it would not compile with about 10 error messages. What about class declaration [INLINECODE]public class CreateTestTxt[/INLINECODE] for example [code] import java.io.*; import java.util.*; public class CreateTestTxt { public static void main (String[] arg) { … | |
Re: Read image location with java.net.URL [code] URL urlImage = getClass().getResource("Image/button.gif"); Image img = Toolkit.getDefaultToolkit().getImage(urlImage); [/code] "Image" folder is on same level(in same directory) as your java file from where you call this image | |
Re: You either missing method main in your program or made mistake in speling of it | |
Re: And what is problem with this code??? |
The End.