Tagged Questions
Java is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).
0
votes
0answers
13 views
how to convert text file from Latin to Arabic
i have ms access database that instead of storing Arabic letters it convert it to Latin now i export it to text file and want to convert it to Arabic again is there is a way to help me
0
votes
0answers
2 views
Uploading a Directory using ftp4j
I am trying to write a recursive function which will upload a directory entirely onto the ftp server.I need to check if the directory i am uploading is already there so i require to check if the dir ...
0
votes
0answers
17 views
Simulating String.split using StringTokenizer
I'm converting code from an existing application to compile against a Java 1.1 compiler for a custom piece of hardware. This means that I can't use String.split(regex) to convert my existing string ...
0
votes
0answers
4 views
Tapestry: How to set HTML checkbox from java page
I am using plain HTML checkbox(not Tapestry type). I need to set the checkbox to checked in my java page. How do I do that?
Here is my tml code fragment
<input type="checkbox" name="leaf" ...
0
votes
0answers
4 views
JSON data store in POSTGRES (EclipseLink)
I would like to deisgn a database and model like below for eclipseLink and POSTGRES.
What would be the best approach to do the same? How ro store JSON data in Postgres and retrieve?
My data model is ...
0
votes
0answers
5 views
Why is paintComponent() continuously and asynchronously being called without explicit repaint() call?
So this question has two parts, which I think may be related, and it's mostly abstract. Briefly, here's what I'm doing:
I have a JFrame with a JPanel and some child JPanels each with 3 JButtons on ...
0
votes
0answers
4 views
How to Spring Inject My Controller layer from Groovy
I'm trying to learn groovy and integrating it with an existing Java jar. The java code makes use of DI but i cant seem to get it to work from my groovy script.
The Java application contains a data ...
0
votes
0answers
5 views
How to safely refactor (e.g rename fields) DTO classes returned in JAX-RS web service calls?
I stumbled upon following problem after refactoring of IssueDTO (used as the type of elements in the returned list below):
generated JSON response has changed dictionary key (keys are used as
...
0
votes
1answer
17 views
java.util.ConcurrentModificationException upon LinkedHashSet iteration
Please, help me understand the error I am getting:
private void replayHistory() {
synchronized (alarmsHistory) {
for (AlarmEvent alarmEvent : alarmsHistory) {
...
0
votes
0answers
6 views
Error in browsing file via WebDriver
To browse file I am giving absolute path of the file in sendKeys method.sendKeys("C:\\test.xps")
Now this works for one website which has box to see the absolute path for example
...
0
votes
0answers
20 views
Getting an error when connecting from android to PHP server
i have an android application project that connect to php server that i write it in codeigniter
my json parser is
package com.example.com.tourism;
import java.io.BufferedReader;
import ...
1
vote
0answers
8 views
What's the advantage of encoding NFC data to Ndef?
I'm not asking about Ndef in general - it is obvious that we need some format for data interchange.
I'm working on an application that must read both - non-Ndef (Mifare Classic in particular) and ...
0
votes
0answers
10 views
Why to reinitialize media player Android?
I'm facing issues with the media player.It get played twice instead of once when i try to tested by rotating on real device and and the song is played in the repeat mode continuously eve when i try ...
0
votes
2answers
8 views
Hibernate Annotations together with EntityManager
I've created a Jar module with a hibernate dependency of
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
...
0
votes
0answers
4 views
Is there any API to read SOLR config parameters?
I want to read one the parameters (maxBooleanClauses) specified in the solrconfig.xml at the client side. I tried to check if there is any API to do that, but didn't find any. Can someone please help?
...