Tim Moores

Saloon Keeper
+ Follow
since Sep 21, 2011
Merit badge: grant badges
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tim Moores

I generally recommend to use a library to create CSVs. Apache Commons CSV is a good option, as is opencsv. Check out both, and use whatever feels right to you. I prefer Commons CSV, an introduction to which can be found at https://www.baeldung.com/apache-commons-csv
6 days ago
Ah, this is about a JVM running on a client machine, not a server. And the purpose is to prevent a user/client from running Java programs that have NOT been signed by a company developer? In that case, I think you will need to set up the client JVM accordingly (and then make sure that only an admin would be able to change it - and a regular user would hopefully not have admin rights).
1 week ago
By chance, I have an age-old piece of code around that does exactly that. Well, it also writes an image file with the result, but to do that it needs to tweak the Graphics2D to begin with.
2 weeks ago
"importing" is something you do in code. I assume you have done that in the 2nd app, because otherwise you could not write an app that handles objects of this class.

A ClassNotFoundException, on the other hand, happens at runtime when an app has been compiled with some class used in the code (SchoolData.Teacher in this case), but that class is missing at runtime. You need to add all classes an app uses to the classpath used when it is run.

This app can  extract objects as files and writes on the harddisk.

So the 1st app serializes data in some fashion to files, and the 2nd app deserializes that? Which mechanism are you using for that?
2 weeks ago

ignaz vanb wrote:


The vulnerability in 4.5 concerns JUnit, and thus should not affect production use.

The vulnerabilities in 5.1 all concern log4j, for which a compatible secure version is available (assuming that you do not use the JNDI and SMTP capabilities, but most people don't).
2 weeks ago
Hybrid apps have long been past their peak time, since there are better approaches to achieving cross-platform compatibility - solutions like Flutter come to mind.

If you release the app under the same ID then it will be considered the same app. What impact that might have on ratings and downloads obviously depends on the overall quality of the app, which -if done well- is independent of its architecture.
2 weeks ago
Why do you want to move to a hybrid architecture?
3 weeks ago
That may be possible, depending on the internet access of your home; search for "DynDNS".
3 weeks ago
I take it you want to get a textual representation of the chart? Otherwise, JFreeChart can create Gantt charts images.
3 weeks ago
Yes, the days of free basic Java hosting are long gone.
3 weeks ago
Traversing a file system each time you want to do a search sounds like a recipe for slow operation (unless the number of files involved is small).

My approach might be to use Apache Lucene to create an index, and then use that for searching.
3 weeks ago
Computers (definitely those running macOS and Windows) have built-in text search capabilities, but I take it that you investigated those, and found them lacking?

For purposes like these I use an information organizer - a piece of software where you can collect all those snippets of text, images, web shortcuts etc. that don't seem to fit anywhere else. For the Mac I like Yojimbo; I'm sure you can find some for Windows if you look online.
3 weeks ago
Text files are not news sources, so using an RSS reader app for them is the wrong approach.

What benefit do you see in using a RSS reader for opening text files that opening them in any other app would not have? Please be more elaborate in your answer than before, so that we can help you.
3 weeks ago

Tim Moores wrote:We don't know the flow of control.

Which means we're not in a position to suggest anything. But you are in a position to provide us with a lot of information about it, which would help us help you.
3 weeks ago
We don't know the flow of control. If the value is set again during the reload, it will be displayed again.
3 weeks ago