Java is a programming language and runtime environment which allows programs to run unchanged on most platforms. Java was originally developed by James Gosling at Sun Microsystems (which has since merged into Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java ...

learn more… | top users | synonyms (5) | java jobs

0
votes
1answer
4 views

JList: sorting by Top/Bottom buttons

I've got a problem connected with my previous question: JList: sorting by Up/down buttons My Up/Down buttons work properly now, but here's the other thing: I need to make Top/Bottom buttons also. They ...
0
votes
0answers
4 views

Flex: How to make SOME columns datagrid editable on runtime

I have a spark datagrid . I want the user to edit some datagrid columns at runtime. I found java code but i dont know how to integrate with my project. They have created a package. Here is the code ...
0
votes
1answer
12 views

Overriding vs Data Fields - which is the better option?

For example, a custom component needs to know what String to paint as its title. Overriding CustomComponent c = new CustomComponent(){ @Override public String getTitle(){ return "A ...
0
votes
3answers
22 views

Finding the most left digit in a number with Java

I have to find the most left digit in a randomly generated number (for example: 46891 -> 4). No matter what the number is I keep getting zero. Here's one of the codes I try: int num1 = ...
-4
votes
0answers
15 views

Special Character check using Java Pattern

I want to generate Two patterns with below information, 1)The following special characters cannot be entered in the first name, last name, email, phone number fields in the Account form: Pattern " ...
0
votes
1answer
9 views

Hibernate or hsql does not respect column length

I have an application that uses hibernate to generate tables (since my application is still under development) for HSQL db. In my domain model I have set @Basic @Column(name = "about", length = 10) ...
3
votes
1answer
26 views

Understanding useDelimiter in Scanner : why I get blank token?

I'm using scanner with delimiter and I've came across a strange behaviour I'd like to understand. I'm using this programm : Scanner sc = new Scanner("Aller à : Navigation, rechercher"); ...
0
votes
2answers
10 views

Java MP3Player by using Javazoom play and pause

I'm making a simple MP3Player in java. I have managed to play a .mp3 file but when i start playing the whole program freezes and i cant click any buttons in the program. I need help making the pause ...
0
votes
0answers
4 views

Blackberry BES remote lookup

I'm trying to make a remote search on a blackberry BES server, but the 'RemoteLookupListener' isn't getting a response on 'items()'; >>Link to my code Thanks, Rotem
0
votes
1answer
22 views

How to use TextChanged event?

I have a text box in which the user enters a unique number. After he enters a number and press tab or enter. I want to write query to search record matching to that unique number. The number is an ...
-3
votes
1answer
43 views

running java application in android

i am trying to see the result of run of my java application on a phone based on Android OS.so i was wondering, is it possible to use vMware and then using the Android-x86 2.2 live & installation ...
1
vote
2answers
33 views

can't get connection to database through java class

i'm trying to establish connection with mysql database through file properties and then run the information from servlet. my Connection class looks like this: public class pageDao { private ...
0
votes
2answers
18 views

Java ClassCircularityError , runtime or compile time?

I am reading the JVM specification 2nd edition. In this section (Loading), ClassCircularityError is defined to be thrown when a class couldn't be loaded if it is its own superclass or superinterface. ...
5
votes
3answers
44 views

Overriding equals method doesn't work

I've been browsing a lot of similar questions in here and on other sites. Still I can't seem to get my head wrapped around this problem. I have a class: public class Event { public String Item; ...
2
votes
2answers
16 views

Transaction management for J2SE applications

What is the recommend transaction management technique to use for traditional JDBC connection transaction? Typical disable of autocommit and commit management is a hassle for programmer to handle ...

1 2 3 4 5 16701
15 30 50 per page