All Questions

2
answers

How to send checkbox data to a query with mysql?

I do not know how to start this whole process of sending multiple data to a query in the database. I always submit an item for each types but never submitted multiple items of the same type . The image below will best illustrate: Iwouldlikeyo...
asked on 03.09.2014 / 14:54
2
answers

Customizing JTextFields

Many professional programs use JTextFields or JButtons with different borders. Would anyone have code examples to change the design of these buttons and text fields to something like the following image? I believe it's with an @Over...
asked on 11.07.2014 / 01:48
1
answer

Compare DateTime field in a lambda only part Date

In this lambda, the result will almost always be null, since I gave a GetDate () right in the bank and when this happens, I record Date and Time. How do I make this lambda pass only date and compare with DateTime.Now just the date? I tried to us...
asked on 02.06.2014 / 20:12
3
answers

Return Json from object in C # with Entity Framework

I have a problem with returning a Json using Entity Framework. The code I'm using is: [AcceptVerbs(HttpVerbs.Get)] public JsonResult Item(int agendaHorarioID) { using (var db = new ERPContext()) { IList<AgendaHorario> age...
asked on 20.05.2014 / 13:47
2
answers

How do I call a method when I click on a notification?

I wanted to know how to call a method when I click on a notification, I do not want it to call a Activity , but only a method that has within the same class. Example: public void gerarNotificacao(){ NotificationManager nm = (Noti...
asked on 22.07.2014 / 07:59
3
answers

How to make divs with the same height and 100% height

I need 3 divs that I have the same height, and if the height is not 100%, turn 100%. Example: I have 3 divs <div class="menuEsquerdo"></div> <div class="toggle"></div> <div class="conteúdo"></div> When...
asked on 21.05.2014 / 21:20
2
answers

In-doubt of inheritance in C #

I'm trying to solve an inheritance exercise and I found a question I saw that has a chance of appearing elsewhere and so I thought I should ask here. The exercise would ask you to first create a Voo class that represents an airplane fligh...
asked on 17.05.2014 / 03:37
1
answer

Run another application as soon as it receives an SMS

I need to call an application already installed on my phone once I receive an SMS from a certain number. All the code in this application is ready, but I do not know how to call it from that message. Should I use Intent or something...
asked on 19.05.2014 / 18:05
1
answer

Differences between traits and namespace for loading

Using namespace loads the file when a method is used say , if it does not invoke any of the class the file will not be loaded. use World; class Hello { World::say() } Using trait even without invoking method or property, the f...
asked on 14.09.2014 / 08:02
1
answer

How to Run JavaScript on the Java 8 Nashorn Engine Programmatically

From Java 8 we have a new Engine for running JavaScript, this is Nashorn. What Java SE platform classes are involved in engine discovery and scripting? How to execute JavaScript through the Java classes themselves in this new interpreter?...
asked on 26.06.2015 / 16:16