5,031 Posted Topics
Re: Off-topic for ardav - If you post by mistake, just click on "Flag Bad Post" and type reason like "Double post", "Post by mistake" and one of the moderators will take care of it | |
Re: Java is no go, Java as no way to get hold of OS events, only events generated by Java | |
Re: Expand your database, do not relay on single table to keep all data. Create table for colleges where you will store college ID, name, contact details. Something along the line as showed in this [URL="http://www.daniweb.com/forums/thread141776.html"]tutorial[/URL] | |
Re: [QUOTE=m_shanak;604732]i need to send the sms from my nokia mobile, without sms provider (using At commands) * i have the vb script to do that ,but i need it in PHP[/QUOTE] If was it so easily done, don't you think everybody would be using it? | |
Re: You have general flaw in the logic. The values collected by JOptionPane will never get out of your while loop. To add the values to array you need to add each new grade to array inside while loop. Also I would suggest to use ArrayList instead of size limited Array, … | |
Re: LOL, above are exact copies of codes from Java How to Program 6th edition:D | |
Re: On top of this forum [URL="http://www.daniweb.com/forums/thread141776.html"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL] | |
Re: Because when you call [icode]private LifeBean lb=new LifeBean();[/icode] in TickerBean only LifeBean default constructor is executed which is effectively this section [code=Java] public LifeBean() { super("LifeBean"); // Setting the bean's label setEnabled(false); // Can't be clicked setBorderPainted(false); // Make it look less like a button }[/code] you never actually set … | |
Re: I just hope for your sake ramborambo from this [URL="http://www.daniweb.com/forums/thread191759.html"]post[/URL] and you are not the same person, or you will get banned | |
Re: I assume that are talking about the application from your other post where you had two rows of drop down (JComboBox) for day, month, year and time. The only think that was missing was some button to initiate data retrieval. If it is this case, just add a button to … | |
Re: [code=Java] for(int count = values.length-1; count >= 0; count--){ System.out.println(values[count]); }[/code] | |
Re: GregorianCalendar inherits [URL="http://java.sun.com/javase/6/docs/api/java/util/Calendar.html#getTimeInMillis()"]getTimeInMillis()[/URL] method from Calendar class. Any ideas how you can use this to your advantage? ;) | |
Re: As you forgot to shed some light into file selection process, I can only recommend you to have look and consider use of File method [URL="http://java.sun.com/javase/6/docs/api/java/io/File.html#getAbsolutePath()"]getAbsolutePath() [/URL] that will return String representation of file location | |
Re: Question is - do you trust that website or not? Answer that question and you get answer to your question. | |
Re: Direct connection to database from JSP!!!!!!!!!!! :'( :'( :'( Please have look at this sticky post [URL="http://www.daniweb.com/forums/thread141776.html"]JSP database connectivity according to Model View Controller (MVC) Model 2 [/URL] to get general direction of how to do it right way | |
Re: With your project advertisement you just broke this forum record of reopening oldest post, which is now 4 years and 5 months. Sorry for sarcasm, couldn't resist. | |
Re: There are to many scripting languages used in web development so you will need to be more specific in your request. You interested in PHP, JavaScript, VBScript, AJAX, ActionScript used in Flash or are there any others less know you would like to learn? | |
Re: No and yes, all depending on your knowledge of both platforms. | |
Re: Sticky post on top of the JSP section [URL="http://www.daniweb.com/forums/thread141776.html"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL]. Any other questions? | |
Re: Just create two separated classes that extends JPanel add necessary components as need it. Then display them depending on selected action in your JFrame. | |
Re: Storing articles content in database and then dynamically recreating page is one option as database would provide you with easy way to search. Searching through number of files (doesn't matter XML, HTML, TXT) is another option but this will be time consuming | |
Re: Aren't the test exams in the book enough [URL="http://books.google.com/books?id=pERFblHvR_oC&printsec=frontcover&dq=SCJP#PPR1,M1"]SCJP Sun certified programmer for Java 5 study guide[/URL] | |
Re: [B]Ah just seen that I'm minute too late. VernonDozier provided some bits that I left for you to finish [/B] You are expected to create at least 3 classes let call them Book, Booklet and BookletsGUI. Your provided code is real mess and show that you are seriously behind your … | |
Re: Your zero interest in subject, brought you to another bad situation and you posted in Java section. Java is NOT JavaScript Request to move this post to correct section already sent... | |
Re: Dunno about nice formatting, but hey you asked for it [URL="http://poi.apache.org/"]Apache POI - Java API To Access Microsoft Format Files[/URL] | |
Re: Happy reading, [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/tabbedpane.html"]How to Use Tabbed Panes[/URL] | |
Re: He is the Quiz Master SunnyY! The guy re-opened most of threads in regards of quizzes, missing the point that all of them are student assignments and not real industrial project and therefore people are expect to hard code it and not to use ready made tools... | |
Re: Please provide code you came up with so far, as providing full solution to above is against one of the main rules of this forum >> [URL="http://www.daniweb.com/forums/announcement9-2.html"]We only give homework help to those who show effort[/URL] | |
Re: @sabrina07080236 - the above mentioned tools would be helpful if this was industry assignment. However original poster is working on classic school assignment where students are supposed to put in practical use what they been taught previously and as we can see the person is struggling for what ever reason. | |
Re: I recommend to leave out the whole idea of JDialogForm as login option. Create frame just for collecting login details and once user provide correct data just call main application. Something like this [code=Java] public class MyGUI { public static void main(String args[]) { SwingUtilities.invokeLater(new Runnable() { public void run() … | |
Re: For the start Applet hasn't got main() method as you know from console or GUI applications. Have look at [URL="http://java.sun.com/docs/books/tutorial/deployment/applet/lifeCycle.html"]The Life Cycle of an Applet[/URL] and here you can learn more on [URL="http://java.sun.com/docs/books/tutorial/deployment/applet/index.html"]Applets[/URL] if it is what you are after... | |
Re: Official NetBeans tutorial [URL="http://www.netbeans.org/kb/60/web/mysql-webapp.html"]Creating a Simple Web Application Using a MySQL Database[/URL] | |
Re: [QUOTE=Ramy Mahrous;845884]Tell me the error please, or send me the access file, to try. <EMAIL SNIPPED>[/QUOTE] Why not to use attachment option of this forum? Simply zip it up and ass to next post. Do not forget to use advanced reply mod or you will not see Manage Attachments option | |
Re: [URL="http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html"]A Visual Guide to Layout Managers[/URL] | |
Re: Be more specific in what you trying to do. | |
Re: To top up what JamesCherrill already said about getting size, to set position you can use methods inherited from Component [URL="http://java.sun.com/javase/6/docs/api/java/awt/Component.html#setLocation(int,%20int)"]setLocation(int x,int y)[/URL] or [URL="http://java.sun.com/javase/6/docs/api/java/awt/Component.html#setLocation(java.awt.Point)"]setLocation(Point p)[/URL] | |
Re: Two options either you gone provide code for whole program or clearly mark which section is kicking of the error | |
Re: JavaScript is one option, but I would suggest to look into [URL="http://books.google.com/books?id=ujeduyIzErwC&printsec=frontcover&dq=jstl"]JSTL[/URL]. That way if you need to set radio buttons as servlet require you have far easier quest :) | |
Re: I guess C or C++, possibly C# but not sure, would be more suitable as you can use them to reach and communicate with OS. Dunno about Perl | |
Re: Use "id" attribute in your button declaration | |
Re: Either you will send request to servlet to get all states from database and send respond back to caller page where in session you will carry list of states plus pre-selection for country combo box Or use facilities of [URL="http://books.google.com/books?id=ktbRmbLGseoC&pg=PT207&dq=jstl+in+action#PPT375,M1"]JSTL[/URL] | |
Re: Have look at [URL="http://www.learningmovabletype.com/a/000235display_code/"]this article[/URL] of what you can do with out any additional tools/libraries/plugins. However if you after tool you may consider [URL="http://qbnz.com/highlighter/"]GeSHi[/URL] (I think dani use it here or she use it in past) or check result of [URL="http://www.google.co.uk/search?hl=en&q=php+syntax+highlighting&btnG=Search&meta="]this search[/URL] and perhaps you find something for your self | |
Re: Please provide code as you have it. Forum rules are explicit like [URL="http://www.daniweb.com/forums/announcement9-2.html"]this one [/URL] | |
Re: [LIST=1] [*]File with extension "doc" is specific to Windows. Why do you want to save data in "doc" and not in simple "txt"? If you still insists on saving in this format you better read [URL="http://poi.apache.org/"]Apache POI - Java API To Access Microsoft Format Files[/URL] [*]Next time you post some … | |
Re: I do not want to be sarcastic but there is nowhere said that this forum provides 24/7 support. On the other hand is great you solved your problem, personal research of issue is another way to solve it instead of waiting for some one else to provide you with solution. | |
Re: You better work harder on your school assignment as this may compile but will never run. Next, there are some design flows. You have static values. What happens when you decide to use different values? You will need to re-write large portion of your code. Therefore introducing a way to … | |
Re: You would make your life far easier if you used multiple JPanels to organize your components in to smaller groups and then add JPanels to JFrame in the layout you need... In doing so you would may be need only one instance of JPanel with draw line in and you … | |
Re: Simple google query get you many [URL="http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=PHP+create+PDF+tutorial&btnG=Google+Search&meta=lr%3D"]useful resources[/URL] | |
Re: The above can be done through applet and no need for JavaScript. However if you insist on JavaScript solution of which I'm not sure can be done, then you are in wrong section (Java is not JavaScript) press Flag Bad Post option next to your original post and write "Please … |
The End.