5,031 Posted Topics

Member Avatar for akasekaihime

What everyone else would do. Do research and go for confirmation on your findings to who ever gave you task. I'm sure you teacher has some criteria for the task, but I believe the main aim is to see if you can write applet and how will you handle calculations. …

Member Avatar for hfx642
-1
143
Member Avatar for sajjad037

Your question doesn't make sense. Project basic structure is usually generated by IDE or by Ant if you know how. [list] [*]Project [list] [*]src (java files) [*]res (folder containing resources drawable, animation, layout, menu, values etc) [*]AndroidManifest.xml [/list] [/list]

Member Avatar for peter_budo
0
82
Member Avatar for vishalbandre
Member Avatar for sajjad037
0
88
Member Avatar for gunjannigam

Just attach listener to first field something like [URL="http://download.oracle.com/javase/6/docs/api/javax/swing/text/JTextComponent.html#addInputMethodListener(java.awt.event.InputMethodListener)"]addInputMethodListener(InputMethodListener l)[/URL] and then listen for [URL="http://download.oracle.com/javase/6/docs/api/java/awt/event/InputMethodListener.html#inputMethodTextChanged(java.awt.event.InputMethodEvent)"]inputMethodTextChanged(InputMethodEvent event) [/URL] once that happens do your calculation for second field

Member Avatar for mKorbel
0
276
Member Avatar for VIPERHlr

Very simple, read string provided by user character by character, look up character in first array and get its position, then look up character on this position from second array and add it to string builder or buffer. PS: You described your existing code correctly as designed, because you did …

Member Avatar for peter_budo
0
137
Member Avatar for NEEDHELPINJAVA

Your book collection is wrong [code]package JPRG; public class BookCollection { private Book[] books = new Book[9]; private String [] title = {"The Java Tutorial 4th Edition","Core Java Red","Core Java Blue","Java Generics","JasperReports for Java Developers","Java Development with ANT","Java in a Nutshell","Java Program and Progress","Java Network Programming"}; private String [] author …

Member Avatar for Killer_Typo
0
236
Member Avatar for somon

Android API Display.[URL="http://developer.android.com/reference/android/view/Display.html#getSize(android.graphics.Point)"]getSize()[/URL]

Member Avatar for peter_budo
0
194
Member Avatar for andy9673

Not so bad on programming since you spotted pattern of similarity, you can simplify it as follows [code] public void printPattern(String pattern, int maxIteration){ for (j = 1; j <= maxIteration; j++) { System.out.print(pattern); } }[/code] and then in for loop [code] for (i = 1; i <= drawbox; i++) …

Member Avatar for JeffGrigg
0
1K
Member Avatar for Muralidharan.E

What is the main benifit of using GWT in web applications? >> For me no need to do all low level Ajax/JavaScript hacking Is there any popular sites which has been developed by using GWT? >> Little out of date [URL="http://www.gwtsite.com/whos-using-gwt/"]article[/URL], but you can see few names there Which is …

Member Avatar for Muralidharan.E
0
141
Member Avatar for akasekaihime

[QUOTE=akasekaihime;1616721]using JCreator.....[/QUOTE] Your Applet must have been created in JCreator as Basic Java applet or it will not be run correctly on execution ([URL="http://www.horstmann.com/bigj/help/jcreator/index.html"]old article[/URL] but I think it is still right on execution). Work around can be by managing arguments in tools options as mentioned [URL="http://www.jcreator.com/forums/index.php?showtopic=615"]here[/URL]

Member Avatar for peter_budo
0
188
Member Avatar for ksnmurthy

Is it so hard to use google? Check this [URL="http://lmgtfy.com/?q=itext+jsp+to+pdf+example"]out[/URL]

Member Avatar for peter_budo
0
59
Member Avatar for 47pirates
Member Avatar for peter_budo
0
59
Member Avatar for himmat.m4

1. Your description is absolutely confusing, you should explain in better way and if possible with some code to demonstrate what you doing 2. You may want to learn more about thread lifecycle (once thread completed task then dies, no chance of recalling it, you have to create new one) …

Member Avatar for ck-81
0
322
Member Avatar for andersonelnino

Obviously you tried everything and by chance missed [URL="http://download.oracle.com/javase/tutorial/java/nutsandbolts/index.html"]Java Language Basics[/URL]

Member Avatar for JeffGrigg
-1
311
Member Avatar for KadajXII
Member Avatar for andersonelnino

It wouldn't work because you did not write it in Java. If/else should look something like [code] if(i < 1){ //do something } else if(i > 1 && i < 5){ //do something } else{ //do something }[/code] You better find all notes your instructor gave you and start reading …

Member Avatar for sirlink99
0
120
Member Avatar for andersonelnino

@andersonelnino DO NOT create multiple posts with same question, just because you are not getting answer fast enough. This is not 24/7 support for lazy students For these wishing to follow this "enlightening" discussion can do so [URL="http://www.daniweb.com/software-development/java/threads/375145"]here[/URL]. Thread closed.

Member Avatar for peter_budo
0
185
Member Avatar for Mahesh.

1) Welcome to form 2) It is rude to hijack someone else question with your own question 3) Post moved 4) Use [icode]TextField.PASSWORD | TextField.NUMERIC[/icode]

Member Avatar for Mahesh.
0
62
Member Avatar for lsvife

1) Why should we help if you just dump error stack and not bother to provide relevant code? 2) Why should we bother, if even if we reply you do not come back to say it work or not and cannot be bothered to close previous posts?

Member Avatar for peter_budo
-1
79
Member Avatar for harinath_2007

Next time please add resource or I will have to infract you for copy and paste (check forum rules for Keep It Legal) Above content was published [URL="http://blogs.oracle.com/java/entry/java_se_7_is_here"]@Oracle Blog[/URL]

Member Avatar for jwenting
0
139
Member Avatar for 47pirates

Kudos for NormR1 speed ;) Please do not post "I'm new I need help" claiming to be new is just lame excuse for not trying. JPanel extends JComponent that on other and extends Container, therefore you do inherit methods from there. Container has number of add() methods but following two …

Member Avatar for 47pirates
0
410
Member Avatar for Majestics

Here is a list of [URL="http://osflash.org/open_source_flash_projects"]Java Flash open source projects[/URL] maybe you can find something suitable there. From my point of view I was only interested in Project Capuchine, that was to get flash on JME platform, plus little of Java-Flex stuff

Member Avatar for Majestics
0
100
Member Avatar for laguardian

Not enough info to help you with your forms, but for moving NetBeans to JCreator I would say it is hard task as JCreator is very simple editor and has different way of organizing project. Unlike advanced/professional IDEs it hasn't got project import option. So either stay with NetBeans or …

Member Avatar for peter_budo
0
98
Member Avatar for geekme

Off topic - @wtstalin88 as English is not your first language I strongly encourage you to either use translator or dictionary to spell check what you writing. Secondly, always read other replies so you do not offer solution/idea/info that someone else already provided as in case of the book.

Member Avatar for gameprogramming
0
109
Member Avatar for BabiesGame

You have no interesting information, just lunatic raving that was already deleted. Post on topic and with in the forum rules.

Member Avatar for peter_budo
-2
22
Member Avatar for abelLazm

[QUOTE=iAssistant;1611571]I agree, I prefer Windows OS and I am satisfied with it plus it is cheaper so why change into uncertain kind?[/QUOTE] I did not see such dull opinion-less answer for long time. Wake up dude, there are other OS then Windows some paid like Mac OS or free like …

Member Avatar for Ancient Dragon
0
292
Member Avatar for mahdi68
Member Avatar for Denmbithi

Please read post at the top of this forum section - [URL="http://www.daniweb.com/software-development/java/threads/99132"]Starting "Java" [Java tutorials / resources / faq][/URL]

Member Avatar for a.oprea
0
97
Member Avatar for agent7

As it clearly state [B]The full stack trace of the root cause is available in the JBossWeb/2.0.0.GA logs.[/B] So check it and you can then update thread with more details

Member Avatar for peter_budo
0
312
Member Avatar for chamnab

I used previously [URL="http://www.freeopenbook.com/xml-java/"]Processing XML with Java: a Guide to SAX, DOM, JDOM, JAXP, and TrAX[/URL], which is free copy. JDOM (already mention by stultuske) chapter 14-15 is easy jump into XML processing and once you done with it just choose any library you like

Member Avatar for peter_budo
0
147
Member Avatar for SagarSe7en

As mention in my PM you can check these resources for some ideas [url]http://www.javaranch.com/journal/2008/08/Journal200808.jsp#a4[/url] [url]http://www.javabeat.net/tips/160-pagination-using-hibernate-and-jsp.html[/url] [url]http://techsoftcomputing.com/javatips/paging-in-jsp-with-hibernate.html[/url]

Member Avatar for peter_budo
-1
106
Member Avatar for yazz110

I have to point out that this book is reference book which servers best for these "versed" in programming and may not be best reference for beginner. You may want to have look at Head First Java or Java - How To Program (Deitel&Deitel)

Member Avatar for peter_budo
0
283
Member Avatar for newcoder310

What can I say, I'm allergic to snippets (Java code inside page view). You should read first this [URL="http://www.daniweb.com/web-development/jsp/threads/141776"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL]

Member Avatar for peter_budo
0
132
Member Avatar for ericwalter

@Arrorn this discussion is going nowhere. We do ask people to attempt to do their part of task instead of dropping on our forum expecting fast reply with full working solution, [URL="http://www.daniweb.com/forums/announcement8-2.html"]see this[/URL] @ericwalter if you want to continue discussion I do advice you to create new post and show …

Member Avatar for peter_budo
0
6K
Member Avatar for sacarias40

These are usually paid services, or you have limitation of request coming from your domain like 10 per day. Work around would be using google maps and options associated with the application.

Member Avatar for gcornejo
0
101
Member Avatar for vanpersie
Member Avatar for peter_budo
0
266
Member Avatar for Dean_Grobler

Yeap, you can do that. Also you may want to have look on Google Guava library class [URL="http://guava-libraries.googlecode.com/svn/tags/release08/javadoc/com/google/common/collect/Lists.html"]Lists[/URL]

Member Avatar for peter_budo
0
1K
Member Avatar for TheNinjaForce

1. Professional thousand of pounds/dollars less time 2. Single individual/friend maybe few hundreds with plenty time in waiting

Member Avatar for peter_budo
0
82
Member Avatar for harinath_2007

You wouldn't get them running on iPhone for sure, as Sun had long talks with Apple hopping to get JVM on iPhone but that was dismissed. Android seems to have some tools/libraries to run it, but would you want to "poison" great user experience with almost 10 years old ugly …

Member Avatar for peter_budo
0
80
Member Avatar for sam1

You may try to put your offer in other section of this webie [I]IT Water Cooler[/I] in [I]Job Offers[/I]

Member Avatar for stultuske
0
462
Member Avatar for newcoder310

Some Eclipse user should perhaps answer this, but in IntelliJ Ctrl+mouse click will take you to the class implementing object, method or declaring constant. I'm not sure if you referring to this functionality of IDE or there is something else. Unfortunately your question is badly constructed.

Member Avatar for JamesCherrill
0
88
Member Avatar for yurixzach

Last 2 screenshots are showing message where Eclipse is complaining about port in use. How did you installed Tomcat? Did you run it from command line/or automated start on pc start up (common thing under Windows) before you attempted to execute your application from Eclipse? Here you can find reasonably …

Member Avatar for peter_budo
0
126
Member Avatar for domifa621

You can write your own isInteger method like ( [code]public boolean isInteger( String input ) { try { Integer.parseInt( input ); return true; } catch( Exception e) { return false; } }[/code] or you can use patterns, but that can be overkill

Member Avatar for domifa621
0
172
Member Avatar for mahdi68

Only SDK 3 above provides Arabic, see [URL="http://developer.android.com/sdk/android-3.0.html#locs"]here[/URL]

Member Avatar for mahdi68
0
312
Member Avatar for ravi_91

We expect people to post coding problem not begging for solution without any attempt. Come back when you have some code to discuss.

Member Avatar for ravi_91
-1
66
Member Avatar for Jessurider

Because you used [URL="http://download.oracle.com/javase/6/docs/api/java/sql/Statement.html#executeQuery(java.lang.String)"]executeQuery[/URL] instead of [URL="http://download.oracle.com/javase/6/docs/api/java/sql/Statement.html#executeUpdate(java.lang.String)"]executeUpdate[/URL] PS: Writing with Caps Lock is like shouting, that is considere rude.

Member Avatar for Jessurider
0
2K
Member Avatar for Mylo92

Well you just failed to post exact error. It is unlikely that someone will copy&paste your application and try to compile it. So why don't you post error if any received or explain in details where is JList giving you hell...

Member Avatar for peter_budo
0
216
Member Avatar for Majestics

[QUOTE=Majestics;1603919]Is there any way to take oracle backup from java. [code] Connection c = // Connection Setting; st = c.createStatement(); rs = st.executeQuery("//What to write here for backup"); [/code] I have tried imp and exp utility , but they cant be accessed through sqlplus...[/QUOTE] I'm afraid but to my current …

Member Avatar for Majestics
0
250
Member Avatar for mikred11
Member Avatar for lsvife

Without code nobody will be able to help you. PS: Would be nice if you closed other threads that you created and which received reply or post back if you need more explanation on given topics

Member Avatar for peter_budo
-1
71

The End.