5,031 Posted Topics
Re: try to read this [url]http://www.javalobby.org/articles/java2exe/[/url] | |
Re: You can't force showMessageDialog to something it is not build for :cheesy: You giving it is : Component, object, object, object and on the end title and message type where java knows only of this method showMessageDialog(Component parentComponent, Object message, String title, int messageType) [url]http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html#showMessageDialog(java.awt.Component,%20java.lang.Object,%20java.lang.String,%20int[/url]) You have two options either … | |
Re: There is Calendar in J2me [url]http://java.sun.com/javame/reference/apis/jsr118/java/util/Calendar.html[/url] or you can use Date [url]http://java.sun.com/javame/reference/apis/jsr118/java/util/Date.html[/url] | |
Re: net beans are quit slow and I don't like their file sturcturing. I use JCreator LE but that is my opinion | |
Re: You forgot to present classic Unix user, which would be in [URL="http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/DSC_7781.JPG/250px-DSC_7781.JPG"]Alan Cox style[/URL] :cheesy: | |
Re: [QUOTE=mbacon;320863]SELECT * FROM `studentcourse` WHERE `systemcode` = 'ilscorp' AND `status` = 'complete' AND `techcode` IN (SELECT `techcode` FROM `usersubscription` WHERE `subscription_id` = '296') [/QUOTE] I don't think you need to use single qoutes on variable names, they are used only on variable values when listed. Your query should be like … | |
Re: There will be more like this, is second semester at universities and time to submit their first courseworks/assignments for semester. I know, I'm student :lol: :twisted: | |
Re: [QUOTE=rpjanaka;320632]yap.. i want it to display with leading zero..but all the numbers do not begins with zero.. so now what should i do....?[/QUOTE] I would do all my calculations and just befor displaying detect which number requeres leading zeros and how many. | |
Re: There is nothing wrong with that code , are you shure you didn't made any adjustment on the code? | |
Re: next to your first post is button/link Solved.... | |
Re: jbennet unfortunately I have to corect you. [QUOTE=http://www.mysql.com/products/tools/administrator/]MySQL Administrator is a powerful visual administration console that [B]enables you to easily administer your MySQL environment[/B] and [B]gain significantly better visibility into how your databases are operating[/B].[/QUOTE] For MySQL to create/delete tables and browse entries in database you are more likely looking … | |
Re: I have Java How to Program 6th edition [url]http://www.amazon.com/Java-How-Program-6th-Deitel/dp/0131483986/sr=1-1/qid=1172356877/ref=pd_bbs_sr_1/104-4763399-6256738?ie=UTF8&s=books[/url] I like the book, have lot of examples and can be use as kind of reference too. There is also new 7th edition whitch include new technologies such as AJAX for Java [url]http://www.amazon.com/Java-How-Program-7th/dp/0132222205/sr=1-2/qid=1172356877/ref=pd_bbs_sr_2/104-4763399-6256738?ie=UTF8&s=books[/url] | |
Re: You may want to look at this [url]http://mindprod.com/jgloss/sound.html[/url] | |
Re: [QUOTE=mengani123;319339]write a sample code to create singleton class using java. ensure that only one instance will be creted and same will be returned always. [B]please do it.[/B] sanjay[/QUOTE] Sanjay [B]please do it[/B] on your own and return back when you get problem with code, not problem with personal lazines of … | |
Re: I already sent a request to move this post to ASP section. It can be that admin/moderator is not around so post wasn't moved | |
Re: Depend how mutch you actualy already done in your lectures. It can be as simple as integer to double & oposite, mixed character string to lower/upper case. On other hand if you already use applets you may ask to do simple word editor, where either you provide text and user … | |
Re: If you look in JSP section you will find this post [url]http://www.daniweb.com/techtalkforums/thread43996.html[/url] | |
Re: LOL jbennet, that is why you should stay with VB/.NET(no offence :cheesy: ). Java = platform independent Yes it will run, there can be minor problem if you use different versions, but if both systems have same Java version you fine | |
Re: One, this is JSP section of this forum and JSP stand for Java Server Pages Two, JavaScript has nothing to do with Java, as JS is scripting language and Java is programming language(needs to be compile first and then can be executed) Three, you should post it in ASP part … | |
Re: I asume that "maximise and minimise" are the buttons in the MenuBar to disable them you just use this [code] maximise.setEnabled(false); minimise.setEnable(false); [/code] If is it not what you wanted, please be more specific about your question. | |
yay this first time that I develop something larger ;) My problem: main method display a frame with buttons where you choose what function/action you want to perform. Once you press a button I want the main window become invisible and windows with option for function to become visible. So … | |
Re: Would you mind post rest of the code? As from that one line we can't find anything | |
Re: The text file which you attached is no a java stuff, it is a HTML with additional JavaScript functionality. What are differences: [LIST] [*]Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s. Java applications are compiled to bytecode, which at runtime is either interpreted or … | |
Re: I don't know what is the purpose if that port number over there? I posted small part of code which I usualy use in other thread [url]http://www.daniweb.com/techtalkforums/post316412-2.html[/url] so you can have look and compare it with your one | |
| |
Re: [QUOTE=alba07;317223] import jave.awt.*; import object.draw.*; public class HitTheTarget extends ActiveObject { private static final int SIZE=15; private static final int DELAY_TIME = 2; private DrawingCanvas canvas; private FilledOval ballGraphic; public HitTheTarget(Location initialLocation, DrawingCanvas, aCanvas); { canvas = aCanvas; ballGraphic FilledOval (initialLocation, SIZE, SIZE, canvas); start (); } [/QUOTE] Sorry you … | |
Re: you may want to check this post [url]http://www.daniweb.com/techtalkforums/thread43996.html[/url] | |
Re: Please don't abuse power and beauty of JAVA, scriplets are no place for setting connection to database. Use servlet... | |
Re: Cleaver man, yes that what you do. Either use phpMyAdmin export option to create export file or just use MySQL to "dump" rutine to save your file somwhere on disk and then import it to new DB | |
Re: Please can you post your code? | |
Re: Please don't double post, I already told you what is wrong with your code and sent it PM to you and you [B]IGNORED[/B] [LIST=1] [*]two main things to use hash to post your code [*]follow JAVA convension on namig classes and methods. [/LIST] Plus other things | |
Re: Can you show us what you did so far, so we can avoid pointing you in wrong direction? | |
Re: [B]First[/B] thing first, when you copy and paste code can you please use tag for inserting code into post, which is the hash "#" sign on the toolbar for creating post. Thank you [B]Secondly[/B] please follow JAVA coding standarts, there are not there just for fun [LIST=1] [*]class naming CALC … | |
Re: That is reason why there are only certain types of components which can be part of the form. Iframe is not one of them... Check it [url]http://www.w3schools.com/html/html_forms.asp[/url] | |
Re: In JAVA API when you look up String documentation there is method [COLOR="Red"]toLowerCase()[/COLOR] =>> Converts all of the characters in this String to lower case using the rules of the default locale. [code] String lowerCaseString = mixedCaseString.toLowerCase(); [/code] for other info check documentation [url]http://java.sun.com/javase/6/docs/api/java/lang/String.html[/url] | |
Re: I don't see any point in using two forms, either you have specialy designed forms for each group on separated pages or you have general form for all where certain fields are excluded if you do not belong to selected group(if you vegetarian please provide additional data, if you wear … | |
Re: Frame is soemthing you put around your component to keep them together. It is like frame with photograph on the table holding photograph, glass and standing leg so they don't foll apart here is link to sun tutorial [url]http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html[/url] | |
Re: I use webspace provided by my ISP space 200MB, can do it in PHP(no need so far, too much at uni going on), database MySQL (or some microsoft crap but not interested in it :mrgreen: ), no advertising and no problems so far(2years in use) | |
| |
Re: class timer in java.util [url]http://java.sun.com/javase/6/docs/api/java/util/Timer.html[/url] class timer in javax.management.timer [url]http://java.sun.com/javase/6/docs/api/javax/management/timer/Timer.html[/url] class timer in javax.swing [url]http://java.sun.com/javase/6/docs/api/javax/swing/Timer.html[/url] | |
Re: Javac is what is called when you hit the button for compiling in your IDE and like in IDE if you have errors it will output them for you if no errors you simple get empty command line to execute another command Applet is java file, just instead of using … | |
Re: if that file actualy create table and than insert some vulues you can simple run command prompt [code] mysql -u user_name database_name<your_textfile+extension -p [I][COLOR="Black"]so it can look like this[/COLOR][/I] mysql -u root dvdDatabase<myDvds.sql -p [/code] then it will ask you for db password | |
In the JPanel I placed JTextField and JButton, as the layout I'm using GridBagLayout which is left to default align (center). However because of the size of whole JFrame I would like to get JTextField to left and JButton to right. How do I do that :?: [code] private GridBagLayout … | |
Re: Give us code what you did, because without any attempt made nobody will help you here | |
Re: I never did it, but I just googled some links for you, you may look for more [url]http://www.jguru.com/faq/view.jsp?EID=1091245[/url] [url]http://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html[/url] [url]http://www.neurospeech.com/Products/JspISAPI.aspx[/url] | |
Re: never seen information like this, don't take me wrong but this can be limitless if you have proper resources. But take it like this, your size of database is either limited by storage capacity of you pc/network or your webservice provider | |
Re: Can you please specify what problem? You just start sentence and cut it in middle :cheesy: | |
Re: Can you please provide code.... <== was my original message LOL iamthwee beaten me for faster response, good link which you provided | |
Re: I think you didn't read the rules of this forum, we help here to people which willing to learn and we do not produce code on demand. There are other sites where they will happily do it for you just don't forget ready your "plastic money" |
The End.