Posts by Lucas Bertollo • 595 points
17 posts
-
0
votes2
answers292
viewsQ: How to render Children in React?
I have the following components: Obj import React from 'react'; export default class Obj extends React.Component { constructor(props) { super(props); console.log(props); } render() { let objs =…
-
2
votes1
answer118
viewsQ: Saturation of Foreign Keys?
After a long time with non-relational database I decided to come back and I came across a strange situation. My app is a simple chat where this chat has sub rooms. I did a little demonstration: I…
-
1
votes2
answers898
viewsA: Problem in database connection class
The problem was solved by creating a web service. Mobile apps do not support direct database connection, an Asynctask method has been created to make the request on the webservice. Examples:…
-
0
votes0
answers40
viewsQ: Is it feasible to use BLOB for BD images?
I’m designing a database and I’m wondering if I should store profile images in a field blob in the table or store the image physically in a Storage and create a field text that contains the image…
-
3
votes1
answer1503
viewsQ: How to modify XML elements with Java?
I have never worked with XML before. I created the following XML configs.xml: <resources> <string name="ip"></string> <string name="username"></string> <string…
-
0
votes2
answers1369
viewsA: Configure "Activity" hierarchy in "Androidmanifest"
I didn’t understand your question properly but all the Activity'will come out of Activity MAIN, when you call the method onBackPressed() (English) she will close the current and return to which was…
-
0
votes0
answers88
viewsQ: Listview search with custom itemView
I have a listView which has two text fields (nome and local) which are removed from an object Empresa. The examples spread on the Internet only show search in listViews normal with only one string.…
-
1
votes2
answers898
viewsQ: Problem in database connection class
I’m having problems with my Mysql database connection class in Android Studio. Error: 10-16 15:04:02.872 532-532/com.example.dev.mbstore W/dalvikvm﹕ VFY: unable to find class referenced in signature…
-
17
votes2
answers4679
viewsQ: How to get the list of devices connected to the network
I need to find the devices connected to the network on which my program runs. It is a network via Wifi (I do not know if this changes the difficulty of the thing), where I know that there are at…
-
5
votes1
answer793
viewsQ: Changing size of Joptionpane.showInputMessage
I tried several methods like setPrefferedSize , setSize with/without pack() but nothing seems to affect Joptionpane code: selectProcess = new JOptionPane();…
-
1
votes1
answer131
viewsQ: Passing an id to server socket
Each client contains a fixed id would have as I amnesze that id to the server to then be able to send messages to clients with specific ids? Server: import java.io.IOException; import…
-
1
votes1
answer320
viewsQ: Jlist Custom Cellrender
I’d like to make a Cor yield with JPanel so that they would be as follows: It would consist of a JPanel, another JPanel inside that would have changed the background and two JTextField or JLabel I…
-
0
votes1
answer390
viewsQ: Problem with Getters and Setters of an Array
I’m having trouble accessing arrays in a Singleton class Class Info public class Info { private static Info cinfo; private String[] first_name; private String[] last_name; private String[] nickname;…
-
2
votes1
answer74
viewsQ: How to put Outlines in the text
I would like to know how to put black Outlines in the text JLabel label_name = new JLabel(); label_name.setPreferredSize(new Dimension(100,20)); label_name.setForeground(Color.white);…
-
1
votes1
answer129
viewsQ: Is jBCrypt still safe?
I wonder if jBCrypt is outdated because it has not updated for two years https://github.com/josephw/jBCrypt If so, there would be a replacement for hashing and Salts for java?…
-
6
votes2
answers1295
viewsQ: Customization of Jtextfields
Many professional programs use Jtextfields or Jbuttons customized with different edges. Someone would have code examples to change the design of these buttons and text Fields to something like the…
-
3
votes3
answers3004
viewsQ: Access data from already instantiated classes
I need to access data contained in class variables already instantiated from other classes User_Info info = new User_Info() I think I would need the memory address that is the right "info"? public…