5,031 Posted Topics

Member Avatar for shrini

[QUOTE=cms271828;311106] If so, why not use an IDE? [/QUOTE] Not everybody want to use IDE's and why.... Applet have be viewed in web browser or in AppletViewer, plus applet don't have main method

Member Avatar for jwenting
0
2K
Member Avatar for peter_budo

Can somebody please help me to little customize the view of the phpMyAdmin? Curently this is what I [URL="http://www.peterbudo.f2s.com/extra/myAdminC.jpg"]see [/URL] but I would like to have as [URL="http://www.peterbudo.f2s.com/extra/myAdminW.jpg"]this[/URL]. Simple, I don't like options to be displayed as list of links but as tabs. What shall I change in config?

Member Avatar for peter_budo
0
148
Member Avatar for mitaldoshi
Member Avatar for jwenting
0
98
Member Avatar for cassyjack

I did few small changes to your files [B]CARDS[/B] change in card constructor [code] public Card(int f, int s) { // initialise instance variables face = f; suit = s; [COLOR="Red"]//you had suit = SPADE[/COLOR] } [/code] [B]DECK[/B] change your constructor public Deck() (with 2 for loops) to a method …

Member Avatar for peter_budo
0
308
Member Avatar for dowen

There is plenty of examples for sorting on internet. Did you looked at them? Please do so, just quick google search brought [URL="http://www.google.co.uk/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=java+bubble+sort&spell=1"]this[/URL] Why I'm telling this to you? Because right now we can only recomend that you follow theory in order to create some code. Then, if you have …

Member Avatar for Phaelax
0
99
Member Avatar for rpjanaka

[QUOTE=rpjanaka;307934]hi all, i am using the tomcat server.. can i show the java out puts(System.out.println) on the browser that is issude from java classes, not from the jsp pages. i think there may be a way to change the configuration in the tomcat server.. thanks..[/QUOTE] I think you looking to …

Member Avatar for masijade
0
574
Member Avatar for scy

[QUOTE=scy;308003]pls any one hv project using jsp and sql pls post the projects.........[/QUOTE] Sorry my friend we help to sort problems with code you are developing not developing code for you. You are in wrong place. Do your coding and if you get errors you can't solve it, we will …

Member Avatar for jwenting
0
70
Member Avatar for Katrin

[QUOTE=Katrin;307250] p.s. I took a C++course and me and my friends wasnt good at c++ , we didnt get any benifits from that course beacuse of our bad teacher !!![/QUOTE] There is kind of chinees saying "there are no bad student only bad teachers" but sometimes I would disagree when …

Member Avatar for jwenting
0
105
Member Avatar for skol10

Bracklets is what you missing in your calculation in first place as your line of code [B]double Payment = Loan * InterestRate / 1 - (InterestRate + 1) - 12 * Term;[/B] Java's rules of operator precedence are[LIST=1] [*]Multiplication, division and reminder operations are applied first. If an expression contains …

Member Avatar for skol10
0
205
Member Avatar for jdk1.5

I give to 2 information 1. Don't use Calendar class but GregorianCalendar as calendar was depricated and is returning sometimes wrong values 2. If you have instalation of Tomcat, in jsp-examples is simple example how does it works or use google there plenty more

Member Avatar for peter_budo
0
60
Member Avatar for Sp!ke

There is no add method for JScrollPane so you can't use it but there is JScrollPane constructor [B]JScrollPane(Component view)[/B], which "Creates a JScrollPane that displays the contents of the specified component, where both horizontal and vertical scrollbars appear whenever the component's contents are larger than the view." (taken fro JAVA …

Member Avatar for iamthwee
0
274
Member Avatar for abs

Start from database. Remember everything coming out of database will be String and you have to to transfer it to appropriate format. So in what type/form is your date stored? What do you have to do, get your database date format to be comparable with data which you get from …

Member Avatar for peter_budo
0
85
Member Avatar for ryy705

First instalation is the one which you need as you only wish to practice on your home pc/laptop. The second option is to setup hosting service I believe. There is plenty of good tutorials on net, I personaly like this one [URL="http://mpcon.org/apacheguide/jsp.php"]http://mpcon.org/apacheguide/jsp.php[/URL] which shows you how to set also Apache …

Member Avatar for jwenting
0
126
Member Avatar for MidiMagic

well good think about html is if browser doesn't recognice a tag it will ignore it, or in worst it will display this tag as part of website. The second thing I seen only with very bad "web developers" which made they own tags, didn't close or close them in …

Member Avatar for MattEvans
0
107
Member Avatar for cronous

Dear friend next time when posting please use tag code which is under symbol [B]#[/B], its make it easier to read the code. Thank you. To your code. I took time to check it after initiatial 3 errors which I sorted come another [B][COLOR="Red"]38[/COLOR][/B]. All this errors are related to …

Member Avatar for cronous
0
91
Member Avatar for cronous

what is purpose of this program??? anyway here you go, you need to initialize variables Dot1 and Dot2, as program will try to increase value of Dot2 just few line down and then compare to Dot1 [code] [COLOR="Red"]int Dots1 = 0; // missing initialization int Dots2 = 0; // missing …

Member Avatar for cronous
0
124
Member Avatar for cassyjack

I expect you have constractor for your book class something like this [CODE] public void Book1(String str1, String str2, String str3, int num) { author = srt1; title = str2; status = str3; isbn = num; } [/CODE] some get methods [code] public String getAuthor() { return author;} public String …

Member Avatar for cassyjack
0
146
Member Avatar for sandip.bhoi

Use actionListener on checkbox to see if any changes happends, if yes than change status from non-editable to editable and oposite

Member Avatar for sandip.bhoi
0
163
Member Avatar for stevetook

no-argument constructor is your one [code] public Circle() { diameter = 30; xPosition = 20; yPosition = 60; color = "blue"; isVisible = false; } [/code] constructor with argument is something like this dude [CODE] public Circle( int d, int x, int y, String str, boolean b) { diameter = …

Member Avatar for peter_budo
0
203
Member Avatar for aansoo

[QUOTE=aansoo;298577][B][I][U]hi alll [/U][/I][/B] [B][I][U](1):- i have make site thus this [URL="http://www.lia-ali0.tripod.com"]www.lia-ali0.tripod.com[/URL] [/U][/I][/B] [B][I][U] i want to added background musc at this but i have not know the code of html:lol: any one tell me .[/U][/I][/B][/quote] [url]www.w3schools.com[/url] is good source of basic information for webdesign [URL="http://www.w3schools.com/media/media_browsersounds.asp"]here[/URL] is direct link to topic …

Member Avatar for peter_budo
0
77
Member Avatar for abexander

ahh this is already 3rd post with same topic from you abexander. Final year project, hmm? What is dificult about it? Me in my final year, working on my final project for last 2 months think you are little late about it now. There are so many things you can …

Member Avatar for jbennet
0
121
Member Avatar for karmelody

1. there is good example of vending machine in this(JAVA) section 2. if you have problem you don't post what shall I do, you provide code or problematic part of code with error message and we will try to help you

Member Avatar for peter_budo
0
93
Member Avatar for shobha

I use Deitel edition, JAVA How to program, 6th edition, from basic application, to complex, components for basic graphic, work with MySQL, JAVA web base services and threads on the end, include also CD with all th ecodes and additional stuff

Member Avatar for jwenting
0
144
Member Avatar for peter_budo

Just have small program to practice with Calendar. However I come accross something unusual. Once you set date for 1st April 2007 or 1st June 2008 for example you get wrong number of the week. example bellow show code set to date 1st June 2008 [code] import java.util.*; import java.text.DateFormat; …

Member Avatar for peter_budo
0
108
Member Avatar for peter_budo

I'm working on calendar application, similar to one provided with instalation of Tomcat. There you have class1 with methods which provide data for class 2. I have no problem to compile class1, but getting errors while compiling class2. This apply also to Tomcat examples if you try to recompile them. …

Member Avatar for peter_budo
0
120
Member Avatar for Talon

You can do proper dice game, such as Yum or similar, not just simple dice roling till same numbers occure. That is too simple and pointless. Do a game where you have towo players, and based on program output decide which one is winner

Member Avatar for jwenting
0
350
Member Avatar for Declan123

if you can post it what exactly you looking for we can help you, but com libraries is huge subject other think to do is type library name in google and search for it, don't be lazy m8

Member Avatar for manojdesai
0
78
Member Avatar for s_khardenavis

I have Deitel &Deitel book JAVA How to Program 6th edition happy with it. Also cover threads and I got more out of it then from my teach at university(he just love to complain about java)

Member Avatar for Phaelax
0
136
Member Avatar for farook ahammad
Re: Java

you can run it without main method, but then it have to be Applet Am'I correct jwenting?

Member Avatar for jwenting
0
83
Member Avatar for peter_budo

I have class which extends JTextArea which I want to attach to JFrame. here is constructor for for JTextArea [code] public MoveSelectedFiles() { area = new JTextArea(10, 40); setVisible(true); } [/code] and here is JTextArea is added to JFrame [code] MovedSelectedFiles movedTextArea = new MoveSelectedFiles(); JPanel panelTextArea = new JPanel(); …

Member Avatar for peter_budo
0
205
Member Avatar for java_programmer

and how do you call this [URL="http://itextdocs.lowagie.com/tutorial/"]http://itextdocs.lowagie.com/tutorial/[/URL] MIRACLE ? ? ? :lol:

Member Avatar for peter_budo
0
45
Member Avatar for harisha

[CODE] if(string1.compareTo(string2) == 0) STRING EQUALS else STRINGS DO NOT MATCH [/CODE] be aware this method can return three values less then zero, zero, or greater then zero. Only equal to zero is string are same more info on [URL="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#compareTo(java.lang.String)"]string[/URL]

Member Avatar for jwenting
0
126
Member Avatar for resnid

here you go, as you read whole line you also get return character and you need to get rid of it, there are various way how to do it but as you already use charAt() I used again to just get first (zero position) character in string. this is not …

Member Avatar for peter_budo
0
473
Member Avatar for Tim Stevenson

Secondly what you provided is not JavaScript only onClick action which take place on press of submit button. So put one and one together you are trying to steal somebody's work and have no idea what JavaScript is

Member Avatar for MattEvans
0
185
Member Avatar for mikki2

that code is absolutly fine only think you need to change is give it location of existing image [CODE]my_gif = getImage(base,"[COLOR="Red"]NAME_AND LOCATION _OF_MY IMAGE.gif[/COLOR]"); [/CODE] plus create simple html file somethink like this where width and height should be at least size of image which you try to display [HTML]<html> …

Member Avatar for peter_budo
0
85
Member Avatar for anti_genius

ever heard of Pythagoras' Theorem " [B]a[/B] on power of two plus [B]b[/B] on power of two equals to [B]c[/B] on power of two"? just example [CODE] (x1 - x2 ) = x // your [COLOR="Red"]a[/COLOR] (y1 - y2) = y // your [COLOR="Red"]b[/COLOR] if ( x < 0) then …

Member Avatar for anti_genius
0
205
Member Avatar for Declan123

I had problem with JAR sometime ago, bellow you find link to my original question and solution to it [URL="http://www.daniweb.com/techtalkforums/thread39854.html"]LINK [/URL]

Member Avatar for Declan123
0
175
Member Avatar for sonawane.prakas
Member Avatar for sonidhanni

check that you have semicolom after java home directory in path variable [code]c:\program files\java\jdk1.5.0_0.6\bin[COLOR="Red"];[/COLOR][/code] I had problem with that once, on some pc's will run it whitout this semicolom , but other refuse ps: not [code] publ[COLOR="Red"]l[/COLOR]ic static void main(String [COLOR="Red"]a[/COLOR][])[/code] but [code] public static void main(String args[])[/code]

Member Avatar for p.bondam
0
139
Member Avatar for cdanielc

mate, the url which you provided doesn't work by the look seems to me like it is your local tomcat = running on your desktop/laptop and not proper server, so we will not be able to run it. You better post here your code and state what do you use …

Member Avatar for peter_budo
0
104
Member Avatar for nanacat
Member Avatar for peter_budo

I'm customizing JFileChooser for application atwork. One of the thinks I want it to do is open it as default directory [B]My Computer[/B] with list of all hard drives, optical drives or nay other storage which you get once you open it. Why I want to do it? Every b***y …

Member Avatar for iamthwee
0
89
Member Avatar for mikki2

if take out +1 this will generate numbers in the interval between 0-5 inclusive

Member Avatar for mikki2
0
118
Member Avatar for deepak_patro

you looking for topic on your final year project or want to get place in some project development?

Member Avatar for masijade
0
103
Member Avatar for upside10

to be fair you got more then 1 error and you will hate me for this :sad: [CODE] import java.util.Multiplesof5;[COLOR="Red"]there is no class Multiplesoft5 in java official package[/COLOR] /** This program tests the Multiplesof5. */ public class Multiplesof5 { public static void main([COLOR="Red"]s[/COLOR]tring[]args) { ArrayList<multipesof5> multiples = new ArrayList<multiplesof5>(); [COLOR="Red"]where …

Member Avatar for upside10
0
160
Member Avatar for LSPUWILLC

nice job you nearly there here is your missing peace :cheesy: [code] //Calculate the change String command = event.getActionCommand(); if(command == "Coca-Cola 1,15 Û") { change = (cents + euros) - 115; } else { change = (cents + euros) - 85; } [/code] KEEP UP YOUR WORK :p

Member Avatar for LSPUWILLC
1
690
Member Avatar for gingergib

[QUOTE]>getScannerInput.anInt[/QUOTE] yes there is nothing like this in Java classes. You better check what options you best to use in JAVA [URL="http://java.sun.com/j2se/1.5.0/docs/api/"]API[/URL]documenation I usauly do it like this [CODE]Scanner input = new Scanner(System.in); int num1 = input.nextInt(); int num2 = input.nextInt();[/CODE] dont forget [CODE]import java.util.*; or import java.util.Scanner;[/CODE]

Member Avatar for peter_budo
0
115
Member Avatar for iwlu

I did some adjustment to your code(red colouring plus removed some tab characters and extra spaces) but [B]you have to still finish it[/B]. Now it is working trough loop, but then when you press ctrl+z it prints labels but can't get over your calculations. It will be much faster for …

Member Avatar for peter_budo
0
163
Member Avatar for sarahavickers

There is no setDay() method in the Date Class, this mean your book must be old and you will get more similar problems... Follow the link which David give it to you, in packages find java.util, then bellow find Date and read trough I use now Deitel&Deitel JAVA How to …

Member Avatar for peter_budo
0
107
Member Avatar for dolphus

In my personal opinion you have long way of learning ahead of you. It is not just dreamweaver which you have to learn you need get into PHP. The functionality which dreamweaver provide is not 100% bullet prove, if you change to many things in your document this may casue …

Member Avatar for peter_budo
0
40

The End.