Questions tagged as 'java'

1
answer

How to watch multimedia in a web browser made in java

I have created a very basic web browser using javafx, apparently it works, the detail is that when entering any page that has a video, I can not see it, I would like to know how I can improve this detail.     
asked by 05.01.2018 / 23:52
1
answer

Clubs and decks, how to hand out different hands? POO

I must create a program that generates me Cards (As - King) and also Clubs, these same ones will be distributed to 3 users (each user will have 6 cards) and must show a sum. The program already does all that but there is a problem that I still c...
asked by 08.10.2017 / 18:12
1
answer

Print a two-dimensional array in java

My question is how can I print my two-dimensional arrangement in this way My fix is 8*8 and I use this to print: for (int x=0; x < matriz.length; x++) { for (int y=0; y < matriz[x].length; y++) { System.out.p...
asked by 09.10.2017 / 01:10
2
answers

Trigger in java?

I have a curiosity, could I do some kind of trigger in java? For example, I would like my application to send me an email every week, to say something with all the sales made the previous week, because I could be reviewing the date with a while...
asked by 09.10.2017 / 14:34
1
answer

Show the date in dd-MM-yyyy [duplicated]

Hi, I'm doing a program in Java by connecting to a MySql database When you run the program, you have the possibility to see the data that is stored in the database or add new data. The problem is that I see the date in aaaa-MM-dd format an...
asked by 08.10.2017 / 18:22
2
answers

Problem with the android cellphone keyboard

I have a problem that when I run my application on Android what happens is that I have some buttons at the bottom of the screen and pressing an EditText appears the keyboard and hides my buttons , I want to know how to do so that the button g...
asked by 10.10.2017 / 21:44
1
answer

Set several components at the same time

I was looking for if there is a function to set several components when finishing a jinternalframe form and not having to set one by one in "", I could think of an array of components, but it did not seem like the best idea.     
asked by 03.01.2018 / 21:24
2
answers

Problem with Methods and Arguments JAVA

I have a method x that receives an entire parameter, and I have a method z which, in order to work, uses the x method. My problem is that they require me not to use global variables. Therefore, I can not ask the x method parameter and...
asked by 01.10.2017 / 17:12
1
answer

Replace string using pattern to get thumbnail from youtube

I have the following string that comes from the content of a web page: String entrada = "<!-- verVideo('nClycKgfetU','65660'); -->"; I want to transform this string using replaceAll (since there may be several) in: String resultado...
asked by 07.10.2017 / 21:04
1
answer

close app from notification

I want to finish with the app by clicking the notification, my current code launches an activiti but I want to directly finish the app private void notificacion (String radio){ NotificationCompat.Builder mBuilder; NotificationManager...
asked by 06.10.2017 / 16:20