Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to write a program for my dad that will take an excel sheet with a bunch of tabs in one file and turn it into several files with a couple tabs. Is there a way to do this? I was trying to do it in Java, but if there is a better way to do it, I'd be interested.
You could use Apache POI. It was used in a project I worked on (although I didn't directly use it) and it seemed to do it's job. It probably has what you're looking for.
Outside of Java, I have heard that powershell has good integration with excel, although I have never actually used it for that purpose. Here's an article about it.
Hope this helps! Good luck!
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'm new to java and I'm recently working on a project which allows you to deposit, withdraw and create new accounts. I want to know if I can somehow save the changes after rerunning the code, for example, the change of users. I've tried several ways on the internet and they didn't seem to work.
There are a variety of ways to accomplish this. For a new programmer, I'd suggest learning how to read and write from files to start.
A simple database system is also an option, but probably more complicated than what you're looking for. This also can't be covered in one tutorial. If you're interested, you should probably do your own research and find something that works for you.
What you need is a database system.
In short, the database will store the data. Your program reads and displays that data. The user modifies it, and pass it to your program to "save" the data (which is replaced the old data with new ones in the database)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have to create a user interface in Java, I asked in another forum for some recommendations and somebody answered me, at that moment, few people write GUI application in JAVA, its most used .NET, could somebody help me?.
Thanks
Maria
The way with java gui is to use javaFx. For that you'll need java 8 (no other lib is needed). This is easier to use as Swing or AWT before. Also its fancier by default.
Although its somehow not new to the community(2 years), there can be some pitfalls you will run into. By now i don't see a better solution. If you need more native "look and feel" you can use the platform dependent swt which is somehow old, proofed but harder to use.
http://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My question is simple:
Is it possible to use a program via Java? Meaning, can I for example code in java exactly what I want my Microsoft Word file do? Add paragraphs, lists,import a picture, etc?
Short answer: Yes. Some programs allow you to use scripts and such, that is the beauty of open source software.
To actually edit the document you can use Apache POI which is an API for Microsoft Documents. Granted it cannot handle .docx but simple text documents. You may also want to take a look at docx4java which supports .docx, .pptx and .xlsx files.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Basically, I'm looking to find out how to apply Java patch files using Java. So, to sum that up, I need Java code to apply a patch file to a java source file.
Cheers!
There are many ways to extend functionality of the already developed Java application.
You can for example use external non-runnable *.jar files with some extra classes. To do so, you have to first implement proper "uploading" functions in your app, e.g. by using custom ClassPath objects, which is nicely described here, or you can try to use multi URLClassLoaders, which is described here.
There is also another approach, which allows you to call external methods in form of a String, but I haven't tested it yet, altough you can read about it here.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am a student. I need to make a application. I have built the GUI. Now I need to know how to do it?
I have heard about sql server compact, but does it work together with j2me? If not, something to solve the problem?
It will be better if you can pass me a example. If you couldn't, not worry, I just to need to know a database program for mobile (with j2me).
Could it be possible without use a database program? For example, using a text file? Or any other storage mechanism.
Appreciate any help.
In j2me you can use RMS. But you can't handle with large data. Some Third party database's also available for j2me development. You can use that API's. Also refer this existing discussion on same in this forum. And look at database connection using j2me article.