Questions tagged as 'java'

2
answers

Memory problems loading many images into listView

I made an application where it is possible to take a photo and save its path in the database and then show it in a listView along with other information. All goes well when there are few images or small images to be displayed, but when reaching...
asked by 27.12.2015 / 02:36
2
answers

Select JPA and Hibernate

I have five entities (Quotation, Sector, Partner, Items and Leads), where the user will select a quotation and sector and the list of all items related to this sector will appear along with the items that have already been posted ( if any). I...
asked by 21.08.2015 / 04:36
1
answer

How to get the lower Node position (x, y) in BorderPane relative to the screen?

I have a BorderPane where it defines its bottom value with an HBox: borderPane.setBottom(new HBox(children)); I'd like to know the position (x,y) mainly y of HBox in relation to the screen.     
asked by 24.11.2015 / 12:08
1
answer

How to keep the data of a variable, when starting an Actitivy, and when returning, load the value?

I have the following problem, and would like to help everyone please. I have an activity, where, if you press btn1, it will happen boolean table1 = true; As for btn2 ... in succession. When table1 is true, the button changes color, and...
asked by 28.11.2015 / 20:57
1
answer

How to set a new source font (external) to a JtextPane

I have a JTextPane and want to set a new source (found on the internet) for it. I have seen several tutorials, but none of them have been able to define the source, I would like to make it as simple as possible. Font font = Font.createF...
asked by 30.07.2015 / 02:00
2
answers

How to display on a JSP page the attributes of an object that was passed in a list

I'm working on a Java Web project, using the Spring MVC framework. I'm having trouble displaying information that comes from a list where analysts are registered. The analyst name is displayed correctly, since name is a String attribute of...
asked by 04.08.2015 / 19:49
1
answer

How to decode an object via URL? [closed]

I have the object URL and needed to encode and then deserialize, how do I do this? The URL is from a server that displays an encoded and serialized Java object.     
asked by 29.06.2015 / 16:42
1
answer

JSP page being displayed as Java Spring text

My JSP page is being displayed as text. I'm using Spring and Spring Security. When I open the link to my page in the browser it opens as text (All HTML appears written on the screen as if I had opened the page in the same notebook) and does no...
asked by 30.06.2015 / 04:42
1
answer

What is the best way to develop a video player from scratch? [closed]

Well, I would like to know what topics, articles, books, references, would help me in the task of developing a video player from scratch like the average player classic for example?     
asked by 04.07.2015 / 05:38
1
answer

How to get values and play in another class? Android

I have the following class: public class RetornaUsuarioActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); AcessoRest ar...
asked by 22.06.2015 / 20:12