Hot answers tagged

3

Text-editor Getting started, you can use most any text editor. And obtain a Java Development Kit (JDK) from any of several vendors. Later versions of Java added the convenience of not having to explicitly compile. You can simply run a .java source file using java your-file-name-here.java, and the compiler (javac tool) will automatically be invoked, then ...


2

Probably the best option is the Android App Studio but I would strongly recommend upgrading your development machine first, especially the RAM - "GB is very low for development work & Windows 8 will be using most of it. APP Studio Recommendations: Windows: Microsoft® Windows® 7/8/10 (32- or 64-bit) 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for ...


2

You can try JArchitect and its code query language to get all the static fields You can customize the query to get only the static fields from a project, package or a class.


2

If you want accurate timing, I would normally say go with a compiled language, rather than interpreted. That said 100ms is a looooong time, so you can go interpreted if you want to. Stick with C/C++ for the PC and you can also use them for the tablet/phone. BUT, since you don't say which tablet/phone system, be aware that you IoS uses Swift, which is a ...


2

I think you are asking how can I Designing a Swing GUI in NetBeans IDE. You can use Netbeans IDE. You can refer to official doc official documentation Or this youtube tutorial YOUTUBE tutorial


2

There isn't one, just like there isn't a 'best' programming language in general. What matters is learning something that will work well for what you want to do. If you're dead set on just learning something to learn programming in general though, good options include: Python. Part of the original design purpose for Python was to be a teaching language you ...


2

The short answer is yes but here is some more context. So you want to make a web app for the results. You have a java app which is native windows. First note is Java is platform independent and can be compiled to Windows, Linux, Mac, etc. So the fact that it is windows doesn't mean much. What matters is that what you built would be the server for the web ...


2

I would also suggest taking a look at Pandas which is a Python library for Data Analysis that includes the ability to read and write Excel files (as well as a lot more). pandas is well suited for many different kinds of data: Tabular data with heterogeneously-typed columns, as in an SQL table or Excel spreadsheet Ordered and unordered (not necessarily ...


2

This web site on automated testing lists quite a few academic and commercial test case generators. Unfortunately, I don't see any that generate test cases en masse. Most, if not all, seem to generate tests for either one class or one method at a time. Update: Agitar's claims its JUnit Generator can generate many unit tests quickly. I don't know if it is ...


1

JHipster allows you to create applications with different options for both backend and frontend. There is a Yeoman generator, generator-jhipster, to quickly generate the application. From its documentation page: JHipster is a development platform to generate, develop and deploy Spring Boot + Angular / React / Vue Web applications and Spring ...


1

Maybe just try watching a YouTube video on Python Tkinter or another Python GUI package. JavaScript is browser based and node.js is server-side JavaScript so they won't work. You could also use Java or .net, both have much more developed and mature offerings for Desktop apps over Python. There's a steeper learning curve with Java/.net than Python to get ...


1

One way is to shift the number left by 1 bit. Another way is to multiply the number by 2


1

In spite of their insulting titles, I’ve always found the … for Dummies books to be clear and well-written, with a logical progression in their respective subjects, building later information on a foundation of the earlier information. You might be able to find better; you can certainly find worse.


1

There are many text editors out there, but the ones I hear the most about are : Netbeans, Eclipse and IntelliJ I personally use Netbeans but that is because that's what we use for our java class.


1

Firstly, I have a feeleing, that your language preference should not influence the choice of db much. However, you haven't specified other criteria, so I will follow the points about the java-prefernece and the multimedia-idea. You did not mention the purpose od your app, but you mention you would store multimedia. I have therefore a feeling that your ...


1

JShell — a REPL now bundled with Java You may find useful the REPL tool now bundled with Java 9 and later, JShell, defined in JEP 222. Use a search-engine to find many demonstrations, both written and video.


1

I usally have an empty project in a folder and if i have to test sth really quick i open up the empty project. Maybe you could try visual studio code with a java plugin. It opens up pretty fast and you can just run .java files.


1

You need the Android SDK. Full blow IDE for coding plus a GUI designer plus the needed libs/jars/etc as well as an emulator so you can actually run your code without hacking and rooting a phone/tablet. Harder question to answer (and no stack for it that I'm aware of) is a good book with a good walk through tutorial on not just using the IDE but making ...


1

Vaadin Vaadin is a framework for building web app user interface completely in Java. At runtime the web app runs server-side in a Java Servlet container. Vaadin automagically generates on-the-fly the HTML, CSS, JavaScript, AJAX, WebSocket, and Push code needed to remotely render the UI in any modern web browser. All the code you write is Java; All the code ...


1

I have used CCASDI.exe (Windows Executable) from this page successfully: http://www.theneitherworld.com/mcpoodle/SCC_TOOLS/DOCS/SCC_TOOLS.HTML#ccasdi And I have also used this JavaScript library: https://github.com/jasonrojas/node-captions Or you can also use this online tool to edit SCC files: https://www.nikse.dk/subtitleedit/online I know of other ...


1

I'd recommend either doxygen or javadoc. Javadoc is probably easier to setup, and may already be integrated with your IDE.


1

You can insert an image into a blob field in a database, that image being the signature. You are better off using a database. You can sort,organize, group, and do many things to the data when its in a database. You can of course open and read and write text files, but the added features of database are compelling.


1

"We are an team of currently 4 developers" - and you don't use version control?? STOP whatever you are doing. I mean everything. No more design, code or test, nothing at all - until you have version control. Please tell me this isn't at work? In any case, even on Open Source, having no version control is unacceptable and highly dangerous. I use it even ...


1

tl;dr Use a build of OpenJDK provided by the AdoptOpenJDK project. New release cadence and policies You should know that Oracle and the Java community have changed to a new release cadence. Major production-quality releases will come on schedule every six months. Every three years a release will be designated as a Long-Term Support (LTS) ...


1

Haven't got time to do the question justice, but the main products you want to be looking at are probably BaseX (XQuery, XML database) eXist (XQuery, XML database) MarkLogic (XQuery and XSLT, XML database) Saxon (XSLT and XQuery, no database) Xalan (XSLT, no database)


1

You may want to have a look at Open Lowcode PDF (disclaimer: I am the author of this framework). A first pre-production version was just released today on github. Feel free to have a look and provide feedback. THe library aims at creating quickly forms and corporate documents. The library is free and open-source, and also appropriate to incorporate in ...


1

Another alternative: https://github.com/KilianB/JImageHash . Looks fairly active and PerceptiveHash class allows to specify the output hash size.


1

JDeli can read/write WebP format and many others, but it isn't free.


1

If you are interested in a commercial solution, you can check out the LEADTOOLS OCR SDK. There is no machine training needed and it can run straight out of the box. Disclaimer: I am an employee of this company. OCR can be performed on an image with only a few lines of code: OcrEngine ocrEngine = OcrEngineManager.createEngine(OcrEngineType.LEAD); ocrEngine....


1

You can use http://tess4j.sourceforge.net/ https://sourceforge.net/projects/javaocr/ I have used tesseract (first option) and found that it is quite accurate (not 100% in my case). I directly used trained data for recognition. You can start with following code. Tesseract tess = new Tesseract(); tess.setDatapath(tessDataPath); //Path to tessdata ...


Only top voted, non community-wiki answers of a minimum length are eligible