0
votes
0answers
13 views

How to Save before Exit Java

I've searched similar threads but I can't seem the find the solution that fits. (I'm new to java) I have made an texteditor and i need to make the option to save before exit. A possible window that ...
0
votes
0answers
8 views

Tomcat v7 gives 404 not found only when I try and run a new project on the server

i'm new to servlets I set up eclipse (eclipse EE) correctly and tried running a test servlet project on the tomcat server and it worked perfectly Then I made a new Dynamic Web Project and copied and ...
0
votes
1answer
12 views

Dropbox Sync API errors

I have downloaded and installed the Dropbox Sync API for Android from here: https://www.dropbox.com/developers/sync I couldn't understand much of their tutorial. It lacked a lot of crucial variables, ...
-2
votes
1answer
23 views

Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 2

The program's purpose is to look up the value on the basis of string from one file to another file string. When I go to compile the program, it works fine. When I run the program,I get an error, ...
1
vote
2answers
23 views

The constructor TextView(new View.OnClickListener(){}) is undefined

I get this error code The constructor TextView(new View.OnClickListener(){}) is undefined please help me this is my code, its had me stumped for days now. `package com.example.tgtidea; public ...
0
votes
0answers
17 views

how can i manage, received USSD codes in android

I'm new developer of android with Eclipse,i have a problem with USSD codes. how can i read received USSD codes by my app? for example, if user send *123# , the answer from operator just read by app ...
0
votes
1answer
17 views

Android SDK (Eclipse) : How To Use SetOnKeyListener with Button?

I just don't know how to do it. The Code is so confusing for me. Can anyone please show me the code with explanation? What I want is to assign enter keyCode to the btn button, so when user touches ...
-1
votes
0answers
10 views

Class lookup Landroid/webkit/WebHistoryItem; attempted while exception Ljava/lang/NullPointerException; pending

I'm really stuck on this error. Just can't find a solution... I've a file servercommunication where I make functions for java-script here. In a web-view I call these functions. All work well, but ...
0
votes
1answer
28 views

Scala IDE (Eclipse) Run as Scala Application

I'm relatively new to the scala language (and programming in general). I recently installed the JDK and the Scala IDE (for eclipse). The setup went smoothly, but I encountered an issue upon trying to ...
0
votes
1answer
8 views

not able to install wtp components in ADT

I am getting crazy with that ptoblem. I have installed the ADT Eclipse version and implement besides the Android application the server side logic. I need to test it with my local tomcat. For that I ...
0
votes
1answer
21 views

Making main - test project structure by hand

The target is to create the following classic project structure: I mean mainly the folders structure that divides work classes from test classes. I can do it easily creating a Maven project and ...
1
vote
1answer
15 views

eclipse: rebuild a project and all libraries

I'm creating a Java project which includes a few libraries written by myself. However these libraries are not finished and sometimes require some edits. Because I'm working by myself, I find this more ...
2
votes
2answers
25 views

No sound under in IDE on Linux (OK in Jar)

I use openjdk-1.6 on Linux platform (that's a requirement) I need to play stream audio. Based on this example http://www.java2s.com/Code/Java/Development-Class/PlayingStreamingSampledAudio.htm I ...
0
votes
0answers
10 views

failed to push heroku jetty application from eclipse

i have created a new embedded jetty heroku application using eclipse. After that i am not able to create new class or servlet using eclipse.I found a solution here:Unable to create a servlet in ...
0
votes
1answer
31 views

Duplicated class in R.java eclipse

I am new to android and developed a small starting application. AN errors returns saying "Duplicated nested type id" and when checking the R.java file i found two id classes have been generated. I ...
1
vote
1answer
18 views

Can't modify properties with recent update on Eclipse

noob here. I'm taking a Java class and we've been creating android apps. I recently updated my Eclipse that already had the plug-in and I can no longer modify the properties in this panel. There ...
-1
votes
1answer
31 views

How do i send Java variable php file?

I am currently trying something very simple, I want to send only one variable to the php web server. I've seen many examples like this one. But when I try to insert them with my current code it ...
0
votes
0answers
9 views

Why aren´t CXF dependencies being imported into my project?

I am trying to start a web service project using jboss AS 7.1.1. and jbossws-cxf-4.1.1.Final. I installed both Apache CXF libraries and Spring support as modules in JBoss AS 7.1.1 using the ant ...
-2
votes
0answers
28 views

On-line database accessed from an Android application [on hold]

I'm developing an android application (road traffic system) and I would like to store the data in an on-line database, so different users can view this data. What exactly should I use? (I'm using ...
0
votes
1answer
45 views

Convert var javascript to java variable

i am using jsp format eclipse 3.2 tomcat server 5.5. I have a problem to convert var variable (javascript) to int variable(java). what is the correct way to do this? In html body, i use this method ...
0
votes
2answers
27 views

How to view a web page on an android app using WebView widget?

So I have created this simple app that will view my webpage on a "webview" widget. It works with no interruptions and its is smooth when installing, but the thing is that it doesn't show the web page, ...
0
votes
0answers
18 views

Android Preferences - On/Off Switch Icons Reset When Scrolled Offscreen

I'm writing an android app in eclipse. In my preferences / settings screen I have on/off switch icons at the top. If I scroll to the bottom of the settings screen and scroll back to the top to see the ...
0
votes
0answers
7 views

Import EMX into Eclipse via command line

I hope my question will be clear enough as I am not used to Eclipse environment. My goal is to create a project in Eclipse with an already existing EMX file. I gather that file from a Git repository. ...
0
votes
1answer
18 views

How do I remove duplicate libraries appearing in Eclipse /bin/dexedLibs folder for Android dev?

I've seen this error reported several times, but none of the solutions I have read seem to help me. I'm getting the following error: Dex Loader] Unable to execute dex: Multiple dex files define ...
1
vote
0answers
22 views

Error with datanucleus enhancer [duplicate]

I'm on windows 7 using eclipse and the datanucleus enhancer for a gwt + gae app. When I want to deploy I have got this error message: 'DataNucleus Enhacer' has encountred a problem Cannot run ...
0
votes
0answers
15 views

Android how to update an entire app (mapView, WebSettings ect…)

Ive been studying at University for the last few years and I have finally come back to my project, creating a android app. The problem is I deveolped my app in android 2.2 and since then alot has ...
0
votes
1answer
33 views

How to convert existing code to dependency on interfaces

I have a problem, which I am encountering again and again in my code base. Let me try to explain. Project A -- package x.y -- Class 1 (abstract class with lots of functionality already in it) ...
0
votes
3answers
29 views

How to tell eclipse to ignore: “No persistence.xml file found in project”

For my projects Necessity i regroup all the persistence.xml entries in one core project which i bind as maven dependency wherever i need. The problem is that the eclipse IDE is always complaining ...
-1
votes
0answers
56 views

Super class constructor call

Here is the deal, I am using for a cross platform project an API in java that has a subclass with a super() call in it. The call works flawlessly, when launched exclusively from eclipse or by building ...
0
votes
0answers
16 views

Eclipse crashes after opensuse update and no error log

I did a fresh install of OpenSuse 13.3 (64) and downloaded eclipse kepler. After a (short) while eclipse crashes. It seems to be triggered by using the arrow keys (who do not move the cursor). I ...
0
votes
2answers
20 views

Resource file copied to output dir but not read by Eclipse

I got an XML file in the root of src, which is outputted in the bin folder along with the compiled classes. How can I tell Eclipse to put in the classpath all future files that will reside in bin ...
-21
votes
2answers
155 views

Syntax error, insert “}” to complete ClassBody [duplicate]

I'm getting this error in eclipse Syntax error, insert “}” to complete ClassBody This is my class. I have been trying to find the bracket wich is missing, but i couldn't This is driving me ...
0
votes
0answers
12 views

How to modularize Java code for use in EMF and Web application projects?

I have been developing an Eclipse Modeling Framework-based editor (an Eclipse-plugin) to create and edit specialized models. Over time, I have added a lot of functionality to the standard editor ...
-1
votes
0answers
28 views

Popeye tutorial

I couldn't find any relevant documentation or tutorial of Popeye java application online. What I'm trying to do is to create a new translation file in Popeye to be able to put it under the .resources ...
0
votes
2answers
14 views

Error while running webapplication with google appengine

I created a small web application.if i deployed its work but if try to run application it show the port 8888 appears to be in use(perhaps by another lanch),do you still to contine with this lanch? i ...
-5
votes
0answers
44 views

Eclipse error :- String can not be resolved to a type [on hold]

I am working on a project in Eclipse. I just wrote my first class. However it does not seem to identify String as a type and gives a red under-line saying - String can not be resolved to a type . I ...
0
votes
1answer
26 views

Loading Java class files for Soot dynamically in Eclipse

I am currently working on a program which compares two control - flow graphs with each other(the graphs are generated with Soot). These graphs belong to two different classes; so one cfg for each. ...
0
votes
1answer
17 views

Annotation-specified bean name conflicts with existing error but only in gradle

I'm trying to deploy an application which works fine using run-jetty-run in eclipse. However if I try to deploy it in gradle with gradlew jettyRun it throws this error Unexpected exception parsing ...
2
votes
4answers
54 views

JavaScript on Netbeans Functional Difficulty

I have difficulties coding in JavaScript with Netbeans. I can't see beforehand: my mistypes, relations between classes, functions and variables (dependency, parents-children etc.), javadocs ...
0
votes
2answers
22 views

Linking Files And Directory Structuring

I'm working on a web project using java/ jsp/ servlets/ html/ css in eclipse tomcat, where everything is in the WebContent folder. In my jsp files... When I try to include other jsp files (using a ...
-3
votes
1answer
23 views

Struts 2.3.15.3 Error HTTP 404 NOT FOUND [on hold]

I am facing this error with Struts 2.3.15.3, please help me! This is my lib http://i200.photobucket.com/albums/aa181/onlylove776610/1_zpsa6d4529f.png web.xml <?xml version="1.0" ...
0
votes
0answers
15 views

DataTable js error in J2EE

Iam developing a J2EE web application using struts in eclipse and i using a plugin for grid view (DATATABLES - Table tools ). But eclipse always throwing this build error below.. please can any one ...
0
votes
1answer
8 views

Xtext error: Registered resource factory is needed

I have an application that accepts a file as an input. Since the files are located in different location, the path will be relative to the .jar location. Example: D:\Test\JAVA_App\Exe is where that ...
0
votes
1answer
39 views

Sometimes keyboard shortcuts do not work in eclipse?

Couple of weeks ago I installed complete ADT bundle from here. this comes up with Android Developer Tool (Eclipse) Build: v22.3.0. Sometimes its shortcut keys do not work. If I close my eclipse and ...
0
votes
2answers
33 views

cant debug anroid projects in eclipse(adt bundle)

I cant debug any android projects on my PC. I am using the adt bundle version where in both eclipse and sdk are bundled together. I tried almost all the solutions i found on here like restarting the ...
0
votes
1answer
41 views

eclipse debugging 'source no found'

There are already several 'Source not found' questions this forum. But none of them is like mine. I try to debug ftp4j in eclipse and eclipse tells me 'Source not found'. i have already download the ...
0
votes
1answer
24 views

GUI update works in IDE but not always from jar file

I develop using Eclipse IDE on a Mac running OSX 10.7.5. This program constructs an array of JPanels, when the user clicks a panel all the other panels on the same row or column change color, blue for ...
0
votes
1answer
32 views

Unfortunately myApp has stopped in emulator

My android project does not show any errors in the console, however, when I try to run the app. It opens my first page however does not open the next page when clicked on the button. Below is my code: ...
1
vote
1answer
43 views

Overriding Java method in Scala using eclipse

Is there any smart way to override Java method in Scala using eclipse? I don't see in eclipse (Scala IDE) the option for 'Source' which I used to using for Java files (Source -> Override/ Implement ...
-3
votes
0answers
33 views

byte to int. Вечный вопрос. гугл не помогает [on hold]

good evening, fans questions. Ask the question for the first time (before this natural looking in Google (so queries 10-20). I tacos situation. Is the simplest example, obtained from decompiling WORK ...

15 30 50 per page