5,031 Posted Topics
Re: 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. … ![]() | |
Re: 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] | |
Re: Not sure about PHP or Perl, but I'm sure there are some libraries for Java and C# | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: Android API Display.[URL="http://developer.android.com/reference/android/view/Display.html#getSize(android.graphics.Point)"]getSize()[/URL] | |
Re: 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++) … | |
Re: 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 … | |
Re: [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] | |
Re: Is it so hard to use google? Check this [URL="http://lmgtfy.com/?q=itext+jsp+to+pdf+example"]out[/URL] | |
Re: Simple as [URL="http://lmgtfy.com/?q=java+ms+access+blob"]that[/URL] | |
Re: 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) … | |
Re: Obviously you tried everything and by chance missed [URL="http://download.oracle.com/javase/tutorial/java/nutsandbolts/index.html"]Java Language Basics[/URL] | |
Re: Thanx for sharing KadajXII | |
Re: 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 … | |
Re: @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. | |
Re: 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] | |
Re: 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? | |
Re: 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] | |
Re: 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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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. | |
Re: You have no interesting information, just lunatic raving that was already deleted. Post on topic and with in the forum rules. | |
Re: [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 … | |
Re: Dude !!! Here are [URL="http://lmgtfy.com/?q=android+epub+reader"]resources[/URL] | |
Re: 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] | |
Re: 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 | |
Re: 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 | |
Re: 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] | |
Re: 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) | |
Re: 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] | |
Re: @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 … | |
Re: 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. | |
Re: For once use JDK instead of JRE, secondly check actual error in logs in "log" folder | |
Re: 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] | |
![]() | Re: 1. Professional thousand of pounds/dollars less time 2. Single individual/friend maybe few hundreds with plenty time in waiting |
Re: 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 … | |
Re: You may try to put your offer in other section of this webie [I]IT Water Cooler[/I] in [I]Job Offers[/I] | |
Re: 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. | |
Re: 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 … | |
Re: 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 | |
Re: Only SDK 3 above provides Arabic, see [URL="http://developer.android.com/sdk/android-3.0.html#locs"]here[/URL] | |
Re: We expect people to post coding problem not begging for solution without any attempt. Come back when you have some code to discuss. | |
Re: 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. | |
Re: 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... | |
Re: [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 … | |
Re: Can you post whole code? What you using as reference to write code? | |
Re: 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 |
The End.