5,031 Posted Topics

Member Avatar for Venks
Member Avatar for jwenting
0
150
Member Avatar for meha1331

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 …

Member Avatar for peter_budo
0
100
Member Avatar for Venks

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]

Member Avatar for Venks
0
108
Member Avatar for jan1024188

net beans are quit slow and I don't like their file sturcturing. I use JCreator LE but that is my opinion

Member Avatar for jwenting
0
150
Member Avatar for mattyd

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:

Member Avatar for The Dude
0
114
Member Avatar for mbacon

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

Member Avatar for peter_budo
0
115
Member Avatar for Primo

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:

Member Avatar for masijade
0
129
Member Avatar for rpjanaka

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

Member Avatar for masijade
0
4K
Member Avatar for rbinc

There is nothing wrong with that code , are you shure you didn't made any adjustment on the code?

Member Avatar for rbinc
0
182
Member Avatar for volscolts16
Member Avatar for hkBattousai

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 …

Member Avatar for pty
0
136
Member Avatar for jan1024188

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]

Member Avatar for jan1024188
0
125
Member Avatar for livingsword

You may want to look at this [url]http://mindprod.com/jgloss/sound.html[/url]

Member Avatar for peter_budo
1
124
Member Avatar for mengani123

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

Member Avatar for peter_budo
0
126
Member Avatar for amodam007

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

Member Avatar for masijade
0
71
Member Avatar for vaniprahalathan
Member Avatar for livingsword

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 …

Member Avatar for vinod_javas
0
104
Member Avatar for chaithanya505

If you look in JSP section you will find this post [url]http://www.daniweb.com/techtalkforums/thread43996.html[/url]

Member Avatar for peter_budo
0
57
Member Avatar for Venks

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

Member Avatar for jwenting
0
210
Member Avatar for pravly

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 …

Member Avatar for nikkiH
0
222
Member Avatar for vaniprahalathan

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.

Member Avatar for vaniprahalathan
0
69
Member Avatar for peter_budo

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 …

Member Avatar for peter_budo
0
118
Member Avatar for vasudha k
Member Avatar for vasudha k
1
111
Member Avatar for Hellodear

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 …

Member Avatar for masijade
0
179
Member Avatar for nschessnerd

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

Member Avatar for nschessnerd
0
124
Member Avatar for steve.p
Member Avatar for alba07

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

Member Avatar for alba07
0
103
Member Avatar for Dhruv Shah

you may want to check this post [url]http://www.daniweb.com/techtalkforums/thread43996.html[/url]

Member Avatar for peter_budo
0
122
Member Avatar for aruna_k_2006

Please don't abuse power and beauty of JAVA, scriplets are no place for setting connection to database. Use servlet...

Member Avatar for aruna_k_2006
0
104
Member Avatar for cmills83

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

Member Avatar for peter_budo
0
58
Member Avatar for jitender_jitu
Member Avatar for goofa

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

Member Avatar for peter_budo
0
113
Member Avatar for mpbf

Can you show us what you did so far, so we can avoid pointing you in wrong direction?

Member Avatar for peter_budo
0
31
Member Avatar for goofa

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

Member Avatar for goofa
0
140
Member Avatar for rpjanaka

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]

Member Avatar for jwenting
0
194
Member Avatar for thecabeza

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]

Member Avatar for masijade
0
204
Member Avatar for rpjanaka

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 …

Member Avatar for jwenting
0
68
Member Avatar for arjunsasidharan

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]

Member Avatar for jwenting
0
91
Member Avatar for magkii

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)

Member Avatar for Gmarvz
0
202
Member Avatar for M40
Member Avatar for arjunsasidharan

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]

Member Avatar for peter_budo
0
148
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
104
Member Avatar for andy3250

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

Member Avatar for andy3250
0
327
Member Avatar for peter_budo

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 …

Member Avatar for peter_budo
0
111
Member Avatar for MONKEYMAN

Give us code what you did, because without any attempt made nobody will help you here

Member Avatar for masijade
-1
109
Member Avatar for jeet_portal

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]

Member Avatar for peter_budo
0
92
Member Avatar for cancer10

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

Member Avatar for cancer10
0
108
Member Avatar for prashant_nirgun

Can you please specify what problem? You just start sentence and cut it in middle :cheesy:

Member Avatar for prashant_nirgun
0
146
Member Avatar for rpjanaka

Can you please provide code.... <== was my original message LOL iamthwee beaten me for faster response, good link which you provided

Member Avatar for rpjanaka
0
192
Member Avatar for itdisc

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"

Member Avatar for ajay_tabbu
0
110

The End.