problem

Jruby log4j integration.

Hi, I am currently working on integrating Java application General Architecture For Text Engineering (GATE) with Rails application using Jruby architecture. When we worked on integrating Jruby with log4j, I am getting following error : 0 [main] DEBUG Main.class - Hello world gate/Gate.java:80:in <clinit>': java.lang.NoClassDefFoundErr...

NAudio Problem - Managing multipule sound files playing one after another.

Hi everyone, I've been trying to solve a problem which I have been stuck for weeks on! Basically, the software I am developing can record audio, and then play it back. The software can record multipule sound files, and then play them one after the other (making it seem like it is 1 continious sound file). However, the problem I am havin...

jQuery: textboxes in dialog window not working

hi all, i'm having a problem with the jquery dialog widget: i put a form with textboxes and combos inside a jquery dialog - when showing it up, all textboxes are not editable/clickable at all - all i can do is changing the comboboxes. seems like a bug to me :/ any ideas how to solve this? thanks ...

Compact Framework compilation problem

Hey all, I'm brand new to Compact Framework and I need to compile a small project for a Windows CE 6.0 device (on which I already installed CF 3.5). I'm using Visual Studio 2005. When creating a new project like : "Other languages -> Visual Basic -> SmartDevice -> Windows CE 5.0", I can compile a simple form, put it on my mobile device...

swfupload + jquery: upload_complete_handler not firing

hi all, i'm trying to assign a done-event to the upload_complete_handler for swfupload, unfortunately nothing happens. in my settings i have: upload_complete_handler : function(){ alert("finished"); } all parameters seem correct, i've already tried deactivating my upload script. any idea what could be wrong? thx ...

problem related JSNI

pls use this http://code.google.com/p/google-web-toolkit-doc-1-6/wiki/DevGuideJavaFromJavaScript IFI means int float int but if i want to use String then how can i write? pls help ...

weird gui component edges!

Hello, I developed my application and tested it on android emulator 1.6, 2.1 & 2.2 and on HTC Magic its running PERFECTLY and the gui components look very neat... However, when I tested it on Sony Ericsson Xperia X10 the gui components are looking fuzzy :S...please have a look ...Have anyone faced such a problem? Any suggestions to ...

jquery: trying to "sync" 2 html tables (apply column widths)

hi, i'm having 2 tables: table1 (the "header-table", which only has 1 row with table columns) - and table2 (the "data-table", which has several rows with all the data). table1 has widhts assigned to most columns. i'm now trying to apply the column widths from table1 to the 1st row of table2 (table1 has same width as table2). my code i...

WPF attached properties not firing code behind when set in xaml

Hi all. I have a custom ClockFace UserControl which has properties to allow colors, font and hands (as a Path objects) to be changed. This is used in custom TimePicker and Clock UserControls. In these parent controls, the ClockFace properties can be set on the ClockFace object in xaml just fine. What I'm trying to do is expose these Cloc...

div layot problems in IE ...

Hello everyone, I have developed a website http://www.akademikpencere.com/. The problem is some divs elements are not being posistioned well in IE, but they are positioned well in Firefox and Chrome. How to solve this problem ? Is there any way to make sure what ever I develop for one browser will work for another ? thank you. ...

problem with Java web service

hi all i have implement a simple web service the method signature of web service is: public OperationResult createUser(int systemId, int refId, String name, String password, int planId, BigDecimal amount) the OperationResult class is as follows: public class OperationResult implements Serializable { private static f...

Problems changing the style of certain items in a ListView

I have a ListView of TextViews and to highlight one of these, I want to make the TextView bold. This only works if I don't scroll the ListView. After I scroll, the boldness changes to a different position. Does anyone know why, or how I can solve this problem? ...

Problem with javacard WebApplication

Hi, I'm trying to build a javacard webapplication with netbeans, but I'm getting a build error and don't know how to fix it: [Error] Unable to parse the class file webapplication2/WebApplication2.class. Exception while looking for class webapplication2.WebApplication2: java.io.IOException: Couldnt find: webapplication2/WebApplicati...

SVG <image> doesn't work in <defs> on Chrome

I want to use image in a group definded in defs tag. But on Chrome nothing works. In Firefox only the .png file is displayd. Only Rectangle apears but with strange bug in Chrome. Is this is supported by SVG or im not using it right. plane.svg <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://...

Problems with runnable

Hello! I was advised to use this code to make my method execute after a definite period of time, i modified it a bit and now I have: private Handler mHandler = new Handler(); private Runnable mUpdateTimeTask = new Runnable() { public void run() { final long start = mStartTime; // Get the difference in ms lon...

jQuery + dialog: assigned events getting destroyed?

here's my problem: i'm using the jQuery dialog for displaying a div with some textboxes inside. that div has my own plugin code assigned like div.myPlugin(); before opening the dialog, i'm initializing that plugin like div.initPlug(); the problem: - when first opening the dialog anything is fine - when closing it and re-opening it, th...

WPF Combobox Items Vanishing/Reappearing from dropdown

I have an itemtemplate for a listbox, that is bounds to objects in a list. The properties of each of the objects in this list is bool, List< string >, string, string. Bool is mapped to the checkbox, the List< string > feeds the dropdown on each of the rows, and the remaining two strings are mapped to each of the textboxes. All fine - ...

SQL JOIN problem in MS Access 2007

SELECT DISTINCT bw.Bor_name FROM Borrower AS bw, Loan AS l JOIN Book_Copy AS bc ON l.Bc_id = bc.Bc_id WHERE bw.Bor_id = l.Bor_id GROUP BY l.Bor_id, bc.Bt_id HAVING COUNT( bc.Bt_id ) > 1 AND COUNT( l.Bor_id ) > 1; This works perfectly in a MySQL testing environment but won't work in MS Access 2007 where I actually need it run. I have a ...

2-opt algorithm for traveling salesman problem in C programming

Hello Can someone give me a code sample of 2-opt algorithm for traveling salesman problem in C programming.. ...

problem with SimpleXML and inclosed arrays

I'm having a problem with SIMPLE XML. I seem to have an array with dumping the whole object. However, when I try to access the array, I get a single element of the array back. Here is the full dump: SimpleXMLElement Object ( [@attributes] => Array ( [type] => array ) [person] => Array ( ...