5,031 Posted Topics
Re: I still get some spikes when iterating through lists with over 2000 entries >> That will be too much even for desktop, clearly you did not thought your logic throughout. Anyway at the moment I'm reading [URL="http://www.packtpub.com/android-application-testing-guide/book"]Android Application Testing Guide[/URL]. Maybe that can help you in the area of performance | |
Re: As far as I'm aware that is the approach of any PDF library that you cannot overwrite currently opened document. What you have to do is open document, make changes, save in new document, remove original and rename new one. | |
Re: [code]oldString.length() != newString.length();[/code] not so hard | |
Re: @JamesCherrill agree on code in post and I move it there ;) | |
Re: Not sure what you are expecting from us to hear. Program is functional. However there are things that could b changed, like using more define names for parameters and method, splitting application in more classes to make it more clear what component is doing what. So please, when you create … | |
Re: I will put it in few bullets: [list] [*]planning [*]coding [*]testing [*]version control [*]evaluating [/list] | |
Re: I would say go with Beginning Android 4 as Beginning Android 4 for games is for these that have some knowledge of Android already. I'm at the moment reading Android Pro 3, but it is little bumpy ride as authors seems to give to much theory and code is coming … | |
Re: Debug info is not posted on screen but in console of your IDE(usually frame will bellow your currently opened code and project tree). When you do debugging you will able to see in which state are object that are used, what is their current value, follow logic when if/else statement | |
Re: [QUOTE=baig772;1719474]if you have already taken java classes, then you should learn java, but market is all about Php, java is highly paid but with very less job market. where as Php have a huge job market[/QUOTE] Irrelevant as it is dependent on your geo-location [QUOTE=rotten69;1719483]Both of them are FANTASTIC Languages. … | |
Re: @ccube921 - that will not work, at least not properly as there are very few mobile phones with mobile browsers. OlyComputers if you want to have redirection then use [URL="http://wurfl.sourceforge.net/"]WURFL[/URL] that can be simple deployed on Apache server with PHP support. However there is a cost to this solution as … | |
Re: You are failing to explain the situation. Anyway you need to have access to Java container/server such as Tomcat, JBoss, Glasfish, Jetty etc. This will normally run on top of Apache 2 server. Apache 2 server will redirect request for a domain/sub-domain (depends on the configuration) to Tomcat. Tomcat is … | |
![]() | Re: " I need to create separate class justo fro reste button" >> That is very loose description. Can yo be more specific? If I take your request literal then I would expected to see ResetButton class extending JButton(setting all parameters like title, size, colour) with ActionListener specifically only for this … |
Re: [QUOTE=sagar2dumbre;1747529]Can we create web application which contains this username,password login page,database connection for dynamic data display in JSP|Servlet....WITHOUT USING STRUTS ?[/QUOTE] Example available under [URL="http://www.daniweb.com/web-development/jsp/threads/141776"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL] | |
Re: I had some funny issues with classes from same packages not being found. Try to add [icode]import com.tabex.displaymap;[/icode] into class maps PS: Would be nice if you also adhered naming convention like class name starting with upper letter "DisplayMap" or "Maps" | |
Re: @Greeky not sure if Blender supports Python. I seen Blender Java API for sure | |
Re: 1) In same time as you add these data to Excel you can call a method to save it also in database (You know you have these data in some sort of object which is once used to store it in excel, but you can reuse it and forward to … | |
Re: Not working is not much of issue description, don't you think? | |
Re: You will need to find library that is able to handle ActiveX objects, nevertheless sometimes it is not good idea to transfer everything as it is. Try to think over what is that component used for and see if you really need it. Refactoring (or in this case rebuild) is … | |
Re: I guess you wanted something like this [code] public static void main(String[]args){ String[][]vehicles data = getVehiclesData(); } public static String[][] getVehiclesData(){ // Open the file to read File file = new File(filename); Scanner input = new Scanner(file); // create a Vehicle Records Array of // Rows [Max Records] x Columns … | |
Re: 1) Forum rules - Keep It Organized - Do provide evidence of having done some work yourself if posting questions from school or work assignments 2) You want to develop social network so you must know what you want to have as core functionality of this site not us. | |
Re: Time to look into [URL="http://poi.apache.org/spreadsheet/index.html"]Apache POI HSSF+XSSF[/URL] that is Java API To Access Microsoft Excel Format Files | |
Re: Are there any errors from delete action (I presume you have try/catch clause and catch is actually doing something)? Did you closed any open streams? | |
Re: That is all nice but you did not specified which language you want to use, plus you are expected to show some effort or is it too much for your to use Google search? | |
Re: iText is not intended for PDF to other format conversion. Its only for converting other document formats to PDF. There are multiple reasons, but one on top of all is that if PDF was created from document that been scanned, this mean that this document was after scan an image … | |
Re: structs??? Didn't you mean [URL="http://struts.apache.org/2.x/docs/tutorials.html"]Struts[/URL]? | |
Re: You did not provide any code any above description is not helpful. Are you reading word documents through some coding process or you just manually copy and paste from Word document to JSP expecting formatting will kept? | |
Re: Three options: A) TOMCAT_DIRECTORY/webapps/YOUR_PROJECT_DIRECTORY B) TOMCAT_DIRECTORY/webapps/ROOT (usually used if only one application run from server and admin has no experience with configuration) C) anywhere you wish for as long you do necessary changes to your configuration (example to have project directory that wouldn't get deleted/affected by server version changes. directory … | |
Re: Something like this? [code] public class ComponentTest{ public static void main(String[] args){ Component[] components = new Component[]{new Component("motherboard", 1234567), new Component("processor", 2345678), new Component("hard disk", 987654)}; for(Component c : components){ c.print(); } } private static class Component{ private String name; private long serialNumber; public Component(String name, long serialNumber){ this.name = … | |
Re: You need to have Tomcat to run on top of Apache 2 for start. However obvious question coming to my mind, what are you trying to do with this old fashion page building process???? | |
Re: So I'm supposed to use SMS that would be pay per login, which needs some to contact some application that may attempt to login if it can find login form, instead of opening browser and login directly to website where data program it this days already part of many plans … | |
Re: Not aware of one, all the tooling "boom" came with arrival of 1.5 that made so many things easier... | |
Re: Nobody will be wise without sample of that project. Secondly it would be good idea to reinstall NetBeans or even upgrade it since there is a version 7.1 out for some time... | |
Re: [URL="http://lmgtfy.com/?q=junit+tutorial"]JUnit tutorials[/URL] | |
Re: [QUOTE=ananyaholla;1741633]hello, all I am trying to insert rows from Excel sheet into SQL database by browsing Excel file in java(JSP). I can insert rows using ODBC connetion. But using odbc user should give DSN in program. I need to insert rows by Browsing file to make it user friendly.i.e user … | |
Re: No you can't. Alert is just string for title, or String for title and alert text, Image alertImage, AlertType alertType. Just create separate form and and ask for phone number there. | |
Re: @borgyborg forum rule [b]Keep It Organized[/b] say that you are to provide evidence of having done some work yourself if posting questions from school or work assignments. That doesn't mean that you post a code where you want to add something add someone will do rest for you. We are … | |
Re: Thread closed before another time-traveller like misgana will bump into it with useless reply | |
Re: Thread closed as it is double post, please follow discussion [URL="http://www.daniweb.com/software-development/c/threads/407752/1740545"]here[/URL] | |
Re: One of the thinks I hate about NetBeans is all this stuff that is added to build-impl.xml without user knowledge. You need to open that file and see what is on the line 470 where the error is reported. If you have problem solve it then post fraction of that … | |
Re: Tell your teacher that what he is doing is wrong and he is giving you bad habit. Any IDE has an option to add library(JAR) to project. Here is how-to for [URL="http://wiki.eclipse.org/FAQ_How_do_I_add_an_extra_library_to_my_project's_classpath%3F"]Eclipse[/URL]. Other ways you may learn later includes dependencies management with Ant, Maven, Ivy or other tools. In any … | |
Re: [URL="http://www.manning.com/panda/"]EJB 3 in Action[/URL] and second edition is in early access [URL="http://www.manning.com/panda2/"]EJB 3 in Action, Second Edition[/URL] | |
Re: [QUOTE=rue64ja;1740950]Even though I don't seem to be getting any responses from any one[/QUOTE] 1)Its weekend, people in many cases are away from computers 2)People live in other parts of world beside US (I'm in UK) 3)We never said this is 24/7 coding solution forum | |
Re: As error message state something happen on line 47 of your pdftoText method of PDFTextParser class. You did not provide code therefore we cannot help. Secondly text extraction from PDF will only work on documents that are text documents converted to PDF, or scanned documents on which OCR (Optical Character … | |
Re: The usual driver for MySQL is [icode]com.mysql.jdbc.Driver[/icode]. Driver you use is usable but little out of date [quote]The org.gjt.mm.mysql.Driver class name is also usable to remain backward-compatible with MM.MySQL[/quote] Secondly, did you checked that DB is running? (In command line type mysql, or use one of the many GUIs to … | |
Re: [URL="http://itextpdf.com/"]iText[/URL] library is what you may want to try. It has support for Java and C# | |
Re: You calling [icode]new menuFrame()[/icode] class, but just bellow it you have only method with similar signature. You need to make up your mind if you want to call class or just method. In case of class call your code may look like this [code]import javax.swing.*; import java.awt.event.*; class MyFrame { … | |
Re: @history better mind your manners and start cracking on that code as we have here one rule for lay people [quote]Do provide evidence of having done some work yourself if posting questions from school or work assignments[/quote] Otherwise nobody will help. We are NOT 24/7 coding forum for lazy people | |
Re: You are not using [URL="http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html"]JAVA ME SDK 3.0.5[/URL] or [URL="http://www.oracle.com/technetwork/java/download-135801.html"]Sun Java Wireless Toolkit 2.5.2[/URL] instead of standard Java to compile your application. | |
Re: @dmanw100 I take it a bad joke to point to 1.3 JEE tutorial. If you wanted you should have pointed [URL="http://docs.oracle.com/javaee/6/tutorial/doc/"]here[/URL] @prasanna123 without Java basics knowledge you are facing bad times, so I will look first on Java basics before attempting any Java web stuff |
The End.