making a executble from simple java code



Category : Java
Hi
I am totally new to java.
Could somebody help me to convert the below java code to an executable file? (double click to run in win 7)
var intInterval = 0
function importdata(){
filename = "C:1.txt";
AmiBroker1 = new ActiveXObject("Broker.Application" );
AmiBroker1.Import( 0, filename, "custom.format" );
AmiBroker1.RefreshAll();
}
It simply imports numerical data from 1.txt into an application amibroker.
Custom.format gives values in a particular sequence.
Also this import function has to be in a loop of 60 seconds.
M

View Replies

Related to : making a executble from simple java code


making a executble from simple java code :-
Category : Java
Hi
I am totally new to java.
Could somebody help me to convert the below java code to an executable file? (double click to run in win 7)
Code:

View Replies


How to make a DLL with dlg resources repaint the dlg within the executble code? (please see descript
Category : Programming Languages
Consider these class A and B which reside in the THEDLL dll.
class B represents a dlg class which is created dynamically (use Create() function).
class A is a wrapper for class B, which instantiate the B on the contructor and delete the B on its destructor so that client can show the dlg B

View Replies


Java performace vs. code-style: Making multiple method calls from the same line of code
Category : Network & Servers

I am curious whether packing multiple and/or nested method calls within the same line of code is better for performance and that is why some develpers do it, at the cost of making their code less readable.


E.g.


//like
Set<String> jobParamKeySet = jobParams.ke

View Replies


Making a Simple Calculator with Java
Category : Java
I am attempting to program a very basic calculator. The program simply needs to prompt the use to input the computation i.e. 2 * 5
The program needs to compute this and display the result as "The result is: 10"
I think my problem comes when I need to tell java to compute the user

View Replies


simple JFflex parser translates to java OK. Error when compiling java code
Category : Java

I have this simple Bison JFLEX parser :
http://pastebin.com/SNB20y7G


I ran jflex parser.flex ( this is how my file is called) obtained a class called TuringLexer.java
When I try to compile it with javac TuringLexer.java I get this:


$ javac TuringLexer.java

View Replies


Question: Making simple graphics in Java
Category : Java
Two questions on graphics:
1. Im trying to create the rooftop for a house which needs to be 61 pixels long. In order to center the roof properly, I need to have both base points at 30.5 pixels from the center.
I am trying to accomplish this by making three points, the peak, and left and

View Replies


making python code and java code work together
Category : Development

I've encountered the following problem:
Our program has two parts - the algorithm which is written in python (with numeric), and the GUI written in java.
We want them to be able to work together - that means that the java part could ask the python for a calculation and than the python c


View Replies


GUI tool for making deb file of my own simple Java application?
Category : Ubuntu
I've made a simple Java application which I'd like to package into a deb file for ease of installation on other machines. The installation is basically copying a few (<10) .class files (and perhaps a shell script for starting the program) and adding to CLASSPATH.
I've had some looks at vario

View Replies


Need help making simple code!
Category : Webmasters
http://www.geocities.com/sachit64/test.html
Alright, I got this assignement due for my employer next week (its coop, so dont think I get paid to do this). Right now, I wanna get the JavaScript part of it done. You can ignore that crap on the top... I was just experimenting and forgot to take it

View Replies


Codes For making a simple CALCULATOR in JCreator Java Program
Category : Java
I would like to ask for basic CALCULATOR Code in JCreator. Im just a beginner when it comes to JCreator and creating a CALCULATOR is hard for me unlike in Visual Basic. Please help me.... Thanks...

View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .