Questions tagged as 'java'

1
answer

Fragment with drawermenu in the action toolbar

The problem is the following I have my main activiy that is composed of a drawer activity when I give to one of the options of the drawer activity I have to pass to a fragment , the problem is the following when I pass to fragmen...
asked by 14.04.2017 / 22:19
1
answer

Error installing sbt for java play framework (openjdk-8-jdk unfulfilled dependencies)

Recently I installed oracle-java8-installer and when executing 'java -version' it returned me: java version "1.8.0_121" so I guess that everything is fine. To install jdk 8 follow the steps of the following link: link To install sbt (to pro...
asked by 15.04.2017 / 03:54
1
answer

Exception using Jaxb to build CDATA from my own bean

I have a problem trying to build a CDATA-XML from a created bean, the idea of the extends is that any bean can be converted since there will be several "templates" this is the code: Bean: TemplateGenerica public class PlantillaGenerica ex...
asked by 16.04.2017 / 17:34
1
answer

I can not access a specific value of an item in java

Good morning, I need to access the value within a java item. I start by initializing a ArrayList<Item> in the following way: ArrayList<Item> games = MicrosoftStore.TodaInfoJuegos(countries, urls); That arrayList I go t...
asked by 30.04.2017 / 15:52
2
answers

Styles API POI

I have: CellStyle style = sheet.getWorkbook().createCellStyle(); HSSFCell cell = row.createCell((short)number); cell.setCellValue(text) cell.setCellStyle(style); I would like the background to be gray, for example     
asked by 28.04.2017 / 12:32
1
answer

Receive all the items stored in my database (Firebase)

This is how I generate item's with a different name automatically in my database of Firebase and send it to it. public class MainActivity extends AppCompatActivity { private String FIREBASE_URL = "miurl"; // genero un item d...
asked by 22.05.2017 / 16:41
2
answers

problems implemented BottonBar

Hi, I'm trying to implement a BottonBar , it's already in my xml file it shows perfectly in the activity the problem is. To add the functions android studio does not recognize me setOnNavigationItemSelectedListener This is the co...
asked by 01.05.2017 / 01:32
1
answer

Pass data between Fragments

I have done a ViewPager, with tabs to navigate between the different fragments (3). My idea was to have in the first fragment a list of CheckBox with the names of companies, and that when you slide to the second fragment, in which I have a ma...
asked by 07.04.2017 / 13:17
1
answer

How to remove the title bar of a JInternalFrame - Java

I would like to know how to remove the title bar of a JInternalFrame. I have been trying with this code but the bar is not deleted. setUI(null);     
asked by 30.03.2017 / 21:33
2
answers

DrawerMenu W / PathParser: Points are too far 4.000000596046461 on Android

I created a new project using the wizard to implement side menu DrawerLayout when selecting from the menu an item onNavigationItemSelected the debug returns me    W / PathParser: Points are too far 4.000000596046461 apart...
asked by 09.05.2017 / 15:44