Questions tagged as 'java'

1
answer

As I can see step by step a method with Debug [closed]

I know I have to go to the Debug mode, but I do not know how to impose a breakpoint inside the code to see step by step how the variables interact and the method itself     
asked by 27.05.2017 / 09:42
2
answers

The app stops when trying to enter data into a database [closed]

I'm new to programming in android studio, I try to make an application that manages a database of SQLite however at the time of trying to record data the app stops. These are my codes: NOTE: I am working with fragments. XML fragment: <...
asked by 27.05.2017 / 00:49
1
answer

modify the name of the columns of a jtable from code

I have this table in a frame I have another jframe where when clicking a button the jframe where I have this table changes the names of the columns of the table, this is the code of the table public void desicionmetodos(int a){ switc...
asked by 16.05.2017 / 18:09
1
answer

Problems accessing Wildfly server 8

I have a web application which I use a Wildfly 8 server to distribute. Accessing the application from the server, I mean, localhost, recognizes me without problem and raises the application, but when I try to access from a PC connected to the ne...
asked by 08.05.2017 / 19:18
1
answer

How to modify the lines of a txt file in java?

I have a dilemma that I can not solve. It turns out that I have a text file that stores user information, each line of the file corresponds to a user and its attributes are separated by #.    id # pass # td # balance So that's how the fil...
asked by 12.05.2017 / 17:44
1
answer

Audio channels available in Android AudioManager

I'm looking at the channels available on Android that are obtained from the AudioManager I have some doubt so that they serve or that affect AudioManager.STREAM_MUSIC AudioManager.STREAM_RING AudioManager.STREAM_ALARM AudioManager.ST...
asked by 13.05.2017 / 22:02
1
answer

A division using ArrayList

Exercise: Using ArrayList create a program that divides 2 very large numbers (digits greater than 10). I already 'solved' the exercise but it does not occupy ArrayList because I did not know how to apply it. I do not know how....
asked by 15.09.2017 / 06:18
1
answer

Insert Layout's in ViewPager

I have an activity that in the lower part of the same position a ViewPager where I intend to add an edit-text and a couple of buttons. public class MyFragmentPagerAdapter extends FragmentPagerAdapter { // List of fragments which are going to...
asked by 05.05.2017 / 10:01
1
answer

Listen to changes in Firebase Database with Android

I have some data in Firebase Database: - order -catched : false -completed : false - user -name : ejemplo I would like that when you move to an Activity, it will remain listening in a persistent manner if a change occurs in "c...
asked by 05.05.2017 / 02:59
1
answer

Selenium to complete a form of a pop-up window in JAVA

Good morning friends, I'm doing the automation of an application, the problem is that the application seems to be developed using Javascript, I have the problem that I click on the "Add" button and it opens a pop up of a form ... but I can no...
asked by 05.05.2017 / 14:04