Questions tagged [javax]

Pointless catch-all tag. Do not use. For removal.

Pointless catch-all tag. Do not use. For removal.

176 questions
0
votes
1 answer

Java - Add a listener for a button in another class via NetBeans

*A lot of the code regarding the GUI is generated by NetBeans. The problem I am getting is on the client side, telling me that uploadBtn is null, nullPointException. Am pretty sure this is because it is not instantiated and am adding an…
Aleksandar Zoric
  • 1,343
  • 3
  • 18
  • 45
0
votes
1 answer

Error getting messages from JMS Queue

I get a JMS Queue (JAVAX.JMS) I stablish connection through: jmsConnect = queueConnectionFactory.createQueueConnection(); jmsSession = jmsConnect.createQueueSession(true, jmsSession.AUTO_ACKNOWLEDGE); jmsConnect.start(); connection =…
angelreyes17
  • 81
  • 1
  • 1
  • 5
0
votes
1 answer

add image to JFrame?

I'm having trouble getting the program to paint an image on. I'm not sure how it's meant to work, but I've defined paintComponent(Graphics g), but the program doesnt seem to be detecting it. Am i doing something wrong? Here's the code I have…
Brian Lee
  • 305
  • 4
  • 14
0
votes
0 answers

Cannot sending email with Java

First time I am trying to working with SMTP in java. But perhaps it can't even login to send test mail. public void sendMail() throws AddressException { final String username = "myusername@gmail.com"; final String password = "*******"; …
u4547878
  • 197
  • 4
  • 13
0
votes
1 answer

Failed to resolve javax

I created a new Application and I am getting these errors This is my app level apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.2" defaultConfig { applicationId "com.vfirst.genie" …
WISHY
  • 11,067
  • 25
  • 105
  • 197
-1
votes
1 answer

How to Save JRadioButton or JCheckbox data into File

I have a JFrame inside it has JButton and JCheckBox The only problem is that there is submit button , i double click on it to write code, but how to get JcheckBox or JRadioButton Data store to File . and then how to read it From file?? I write…
Ahmed Ali
  • 1
  • 1
-1
votes
1 answer

Where to download HttpServlet.java v1.2?

We have a old system that use HttpServlet v1.2, where can I download source for debug in eclipse? I googled obky found v2.0 or v3.0...
mikezang
  • 2,291
  • 7
  • 32
  • 56
-1
votes
1 answer

difference between Transaction and Conversation in Java

I'm pretty new to java. Can someone tell me: when to use Transaction and when to use Conversation in Java? I know that a transaction is present in a database(update->delete->commit), but it's utility it's only in this case ? Thanks in advance
DaianaB
  • 33
  • 9
-2
votes
1 answer

javax validation for login(email or phone)

class SingIn { private String login; private String password; public SingIn(String login, String password) { this.login = login; this.password = password; } public String getLogin() { return login; …
Romper
  • 2,009
  • 3
  • 24
  • 43
-2
votes
1 answer

Spring-LDAP too strict because of JDNI implementation

Gooday, Im having a rather bizarre problem with Spring-LDAP what in its essence seems more a JSNI problem then a Spring problem. The Problem: I have the following LDAP structure: dc=company,dc=com,dc=productname |-o=TESTORG1 | …
Thadir
  • 201
  • 2
  • 16
-4
votes
1 answer

query.list() Exception java.lang.Integer cannot be cast to java.lang.String

I encounter an error when I'm in javax queries So far I have not encountered such an error and I do not know why @POST @Path("/aa") @Consumes(MediaType.APPLICATION_JSON) public Response polaki(User user, @HeaderParam("Authorization") String…
aaaaaa
  • 3
  • 2
1 2 3
11
12