Questions tagged as 'java'

3
answers

Problem obtaining data from EXTRA_TEXT [closed]

In the design company for which I work we try to create a private messaging application which allows us to share different URLs from different applications such as social networks, so that when we share it, it is added in the body of the message...
asked by 18.11.2016 / 12:54
1
answer

Problem with abstract class and interfaces

I have written the class code, but it does not work out. Specifically, in the methods CalularSaldoCC and CalularSaldoCA error occurs that does not recognize MontoApertura . Also, I do not know whether to move it to Cuan...
asked by 13.11.2016 / 23:06
1
answer

How to modify the source of a list in android?

What I want to do is that my list in my android app have a different letter with more style, I already have fonts of type .ttf in the assets folder and I already did it with a textview but I could not implement it in a list Here is my Java cl...
asked by 14.11.2016 / 00:20
1
answer

Draw chat bubble

I found this code on the stackOverflow page in English. protected void paintComponent(final Graphics g) { final Graphics2D graphics2D = (Graphics2D) g; RenderingHints qualityHints = new RenderingHints(RenderingHints.KEY_ANTIALIASING, Render...
asked by 11.12.2016 / 16:35
1
answer

Weird error in Eclipse: it works, but the red underline appears in JOptionPane

I started programming in Eclipse. I have an error in the code I wrote (see the comments in the code): import javax.swing.*; public class SumaConJOptionPane { public static void main(String[] args) { String usuario, aux1, aux2;...
asked by 11.12.2016 / 03:35
0
answers

Take capture of a livestream on android

I'm doing an app that receives video stream from an RTSP address and I want to take a screenshot of stream by just touching the screen ... I've already managed to make it take the screenshot but the problem is that all screenshot are black image...
asked by 20.10.2016 / 16:14
0
answers

Java query error to Prolog-Mysql in Fedora 22 (Netbeans)

I've been playing with Java doing consultations with Prolog with the JPL library and it works for me, all right up there. Then I made a Prolog connection to MySQL with ODBC and it worked great. Then I had a problem with making queries in Prol...
asked by 24.10.2016 / 01:15
0
answers

JAAS JDBCRealm with JPA entities does not work

I want to use JAAS in my project, configuring a JDBCRealm through JPA entities. The authentication seems to work correctly, for example, I try to access facelet /admin/analysis.xhtml and redirect me to facet login.xhtml . When...
asked by 20.10.2016 / 20:50
0
answers

Use env entries from an EJB

I am using the Twitter4J library to use the Twitter API. I'm using this library in an EJB without status like this: @Stateless public class TwitterSearchBean implements TwitterSearchBeanLocal { @Resource(name = "TWITTER_OAUTH_CON...
asked by 20.10.2016 / 21:47
0
answers

How to decompile a .exe file [closed]

I have a "program" .exe file that when opened opens the interface as if it were CMD, I do not know in what language it is written, and I would like to know how to decompile it to look at the source code.     
asked by 29.10.2016 / 05:12