5,031 Posted Topics

Member Avatar for megha777

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 …

Member Avatar for peter_budo
0
84
Member Avatar for muthumari

[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 …

Member Avatar for peter_budo
0
170
Member Avatar for joshSCH

Yay, why that green colour for software development? Also I do mis option to mark all posts as read in the section...

Member Avatar for Dani
0
817
Member Avatar for Qwazil

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 …

Member Avatar for Qwazil
0
121
Member Avatar for MidiMagic

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]

Member Avatar for MidiMagic
0
141
Member Avatar for uninvitedm
Member Avatar for alexzimah

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 …

Member Avatar for peter_budo
0
139
Member Avatar for Thendral

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 …

Member Avatar for ~s.o.s~
0
101
Member Avatar for jetru

[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[] …

Member Avatar for jetru
0
236
Member Avatar for realnsleo

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 …

Member Avatar for peter_budo
0
69
Member Avatar for vinod_javas

[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

Member Avatar for vinod_javas
0
110
Member Avatar for Monyet

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 …

Member Avatar for Johnbull
0
129
Member Avatar for ally1002
Member Avatar for iam_rob

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

Member Avatar for iam_rob
0
229
Member Avatar for Rikardsen02754
Member Avatar for aerian

Can you elaborate what you try to achive? Also please use proper English as the above is terrible

Member Avatar for peter_budo
0
75
Member Avatar for paradox814

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)

Member Avatar for jwenting
0
120
Member Avatar for christianthag

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]

Member Avatar for christianthag
0
89
Member Avatar for rahulgupta1979

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 …

Member Avatar for rahulgupta1979
0
258
Member Avatar for Stoney

@[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] …

Member Avatar for deng_cen
0
212
Member Avatar for Narue
Member Avatar for loilord

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

Member Avatar for ~s.o.s~
0
86
Member Avatar for christianpunk20

[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]

Member Avatar for christianpunk20
0
96
Member Avatar for christina>you

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 …

Member Avatar for christianpunk20
0
286
Member Avatar for efui

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

Member Avatar for jwenting
0
1K
Member Avatar for shmay

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

Member Avatar for peter_budo
0
119
Member Avatar for princekool
Member Avatar for hbk619
0
127
Member Avatar for the_jackel

Post the code, please use the hash sign "#" to post code, and provide proper description of problem

Member Avatar for jwenting
0
53
Member Avatar for Darkfoxx

Little pointless to post in the thread which is over 2 years old and author and some members are not active for same time

Member Avatar for peter_budo
0
5K
Member Avatar for franhurley

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]

Member Avatar for peter_budo
0
122
Member Avatar for viper4734

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. …

Member Avatar for viper4734
0
134
Member Avatar for Diego1029

Solution is hidden in this post [url]http://www.daniweb.com/techtalkforums/thread75492.html[/url]

Member Avatar for Diego1029
0
64
Member Avatar for josh2

Maybe politics and religion should not be allowed on the forum, well that is my opinion...

Member Avatar for peter_budo
0
157
Member Avatar for dualcore93
Member Avatar for jwenting
0
122
Member Avatar for Dani
Member Avatar for javageak

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 …

Member Avatar for iamthwee
0
131
Member Avatar for Rikardsen02754

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

Member Avatar for fraogongi
0
99
Member Avatar for realnsleo

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]

Member Avatar for peter_budo
0
102
Member Avatar for CyberWrek

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 …

Member Avatar for MidiMagic
0
105
Member Avatar for Dani

Not realy, pressed Go Advanced and I had to wait for2-3 minutes get advance options ;-(

Member Avatar for jbennet
0
610
Member Avatar for nizam147

Hello world application using database strange here is link for jdbc driver [url]http://dev.mysql.com/downloads/connector/j/5.0.html[/url]

Member Avatar for lucky1981_iway
0
117
Member Avatar for Dhanesh.M
Member Avatar for volscolts16

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 …

Member Avatar for volscolts16
0
97
Member Avatar for Rikardsen02754

Will be nice if you can also provide [INLINECODE]cs1.Keyboard;[/INLINECODE] or this would be guess work and nobody will look at it

Member Avatar for peter_budo
0
139
Member Avatar for nemo

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

Member Avatar for peter_budo
0
93
Member Avatar for rp_amar
Member Avatar for peter_budo
0
83
Member Avatar for new_2_java

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) { …

Member Avatar for new_2_java
0
1K
Member Avatar for Cerberus

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

Member Avatar for peter_budo
0
380
Member Avatar for new_2_java

You either missing method main in your program or made mistake in speling of it

Member Avatar for new_2_java
0
166
Member Avatar for jonbc86

The End.