Questions tagged as 'java'

1
answer

How to change the size of a JFilechooser?

Hello, I would like to know if anyone knows any way to increase the size of a JFileChooser like this: I would like it to fill up all the space left over on the screen, to make it easier to locate the files. Thank you in advance, Good Night...
asked by 01.12.2015 / 23:47
0
answers

POI apache, Function if the value in a cell erases the entire line

I need a help with the use of POI apache, in my application I need to perform a query inside a worksheet, this query checks if there is a value in the worksheet, this query is ok, below I'll put the code simulating a value for make it easier to...
asked by 01.12.2015 / 21:48
1
answer

error: class, interface, or enum expected?

So people here were trying to do an exercise of the old game in android studio and I can not find where the error is, I would like some help. package com.example.francisco.jogodavelha; import android.app.AlertDialog; import android.content...
asked by 03.12.2015 / 00:09
0
answers

error when selecting android gallery image in my annotation app

Galeraisasfollows,Ihaveaverysimplediarynotesapplicationinwhichyouhaveanoptiontoselectandattachaphotointhenote,thephotocanbetakenatthesametimewiththecameraorimportedfromthegallery,theproblemisthatwhenIimportfromthegallery,it'sonlyrightwhenIimpor...
asked by 01.12.2015 / 22:04
1
answer

Problems with p: editable datatable

Good evening. I'm having trouble updating an editable datatable I created here. It reads the values, but does not assign them to the ManagedBean object so I can persist. Follow the Bean Code public void onCellEdit(CellEditEvent event) {...
asked by 09.01.2016 / 03:49
1
answer

I am not being able to access a WebService written in C #, from Java [closed]

I have a WebService written C # and I need to connect to it from Java to invoke methods. Is it possible? import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Level; import java.util.logging.Logger; import jav...
asked by 08.01.2016 / 19:06
0
answers

Application does not access database when hosted

I have a hosting for testing, but I can not access the database. persistece.xlm: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/...
asked by 19.11.2015 / 13:46
0
answers

Independent datetime

I'm developing an application for password generation time on based TOTP , but I'm having difficulty when the mobile time zone is disabled or the user modifies the date / time. I have already thought about synchronizing the date with NTP to...
asked by 18.11.2015 / 17:28
0
answers

Web application for instant messaging in JSP with WebSockets

I would like to get or build an example as I leave it in the following image: Thiswillhavetousewebsockets.Itriedtostudythesubjectofwebsocketsandtorunsomeexamples,butI'mnotluckyatall.SomedaysagoIfoundseveralexampleswithwebsockets,butallofthem...
asked by 17.01.2016 / 16:51
1
answer

How to create a variable that stores a value even if you restart application or change scene in Android?

How to create a variable that stores a value value even if it restarts or changes the application scene, I do not know would be a database or if there is something simple     
asked by 17.01.2016 / 18:39