Simple question (export netbeans program)
i know it'll be simple but cant sort it can anyone help?
Im using netbeans (IDE)...it compiles and runs my program fine. The problem is though i cant get it to work outside netbeans (eg, using j2sdk1.4.0 - java or javac)...all my classes are interlinked and all have package project.e; at the top (all in desktop/project/e)...I want to put it all on a floopy and have a bat file which says load - java progam_name...but it doesnt like it...any ideas?
Thanks for your time&help
Oly
Are the classes in their packages, also on the floppy?
Are the classes in a JAR? Are the packages in the JAR, too?
Have you set the classpath in your BATCH-File?
Similar Messages
-
Simple question: Exporting Flash
I need to make and import animations of simple objects made
from circles and rectangles in to FCP. The animations will be used
to supplement live video of tasks that are not easily videoed in
the detail a student needs to see. The end product will be training
DVDs for teaching shop skills.
I am considering purchasing Flash 8 Pro to do the animations,
but before I do I would like to find out if there Flash 8 Pro users
making and importing their animations into FCP. I have Motion, but
like combination features of drawing and animating in Flash.
I would appreciate any advice/recommendations from Flash
users.
Thanks in advance for sharing your experiences importing
Flash into FCP .What is FCP ?
Jeckyl -
[Theory] A simple but hard question about OO programming
I was in my first class of OO programming (4th year of computer engineering in Valencia) and the professor gave us homework.
The homework was a simple question about OO programming (it is not about a specific language, though we are going to use Java in the practice sessions), we shall find an answer to it and discuss it in class the next day.
The question was:
"May classes also be objects?"
which can be said as:
"May classes be instances of an(other) classes?"
I hope that you, archers, can enlighten me in this questiontvale wrote:I believe an object is an instance of a class.
Yup, that's true. Let's see... An object is an instance of a class, so we can have a lot of objects coming from one class.
We can say an object is not a class because it has a state (think about a light, it has a state: on or off, but a class light is not on/off, because in a class we just describe the behavior that class should have.
But what we're asking here is if a class can have a state. I think it may refer to static properties about the objects. -
There are many a thousands of people who are producingvideos on completed DVDs. As an amateur videographer using iMovie first nowusing Final Cut pro to produce completed ready to distribute DVDs, I find ithard to believe at the meeting you mentioned anyone with common sense wouldhave explained the scenario above. On an amateur level so many folks have beencreating videos of Weddings, Home Movies, and many different Special Events. Onin particular are sports events. I shoot a sports event like Mix Martial ArtsEvents utilizing several video cameras. Then editing with Final cut Pro andsometimes iMovie. All of my completed videos that have been edited in either ofthese two programs are shared (like hand in glove) with iDVD. Short of steppinginto the commercial world Apple has deleted many people from producing a semiprofessional looking product.
I do not know if the can be answered here in the format buthere it goes!!
Simple question. Since apple has extinguished iDVD Are thereany other Software programs that can produce the end product iDVD did? Googlesearches with years of outdated info does not give good references. Withoutlooking to go commercial, the Apple Macintosh Computers built internal Softwareprogram like iDVD is the only program I know of that can help folks on mylevel!!
It doesn't seem there are any programs that takes off fromwhere iDVD left off. My end products (complete videography from start tofinished printed and burned DVD) needs to have the mapping and control usingthe semi professional look iDVD gave!
Have any ssuggestions?Thank you Klaus 1
I have 4 latest Macs All have iDVD. The question was not where to get iDVD.
The question for anyone who knows is: Since apple has extinguished iDVD Are there any other Software programs that can produce the end product iDVD did?
I appreciate your input but it realy does not answer the question. iDVD will soon not be able to work with newer versions of Macs as it has been left behind by Apple!
Once again:
It doesn't seem there are any programs that takes off from where iDVD left off.
My end products needs to have the mapping and control using the semi professional look iDVD gave me.
Imovie cannot do this. More importantly imovie cannot save the project to Video_TS folders like iDVD did.
Anyone have suggestions?
My full post is just below:
There are many a thousands of people who are producing videos on completed DVDs. As an amateur videographer using iMovie first now using Final Cut pro to produce completed ready to distribute DVDs,
On an amateur level so many folks have been creating videos of Weddings, Home Movies, and many different Special Events. One in particular are sports events. I shoot sports event like Mix Martial Arts Events utilizing several video cameras. Then editing with Final cut Pro and sometimes iMovie. All of my completed videos that have been edited in either of these two programs are shared (like hand in glove) with iDVD. Short of stepping into the commercial world Apple has deleted many people from producing a semi professional looking product.
I do not know if anyone can this question but here it goes!!
Simple question. Since apple has extinguished iDVD Are there any other Software programs that can produce the end product iDVD did? Google searches with years of outdated info does not give good references. Without looking to go commercial, the Apple Macintosh Computers built internal Software program like iDVD is the only program I know of that can help folks on my level!!
It doesn't seem there are any programs that takes off from where iDVD left off. My end products (complete videography from start to finished with printed and burned DVD) needs to have the mapping and the control by using the semi professional look iDVD gave!
More importantly imovie cannot save the project to Video_TS folders like iDVD did. Something for folks like myself who need this to burn to our multi burning DVD all in one printers!!
Anyone have suggestions? -
Current Year and current month?simple question
How can i get four Digit current Year and two digit current month. So if is march it should get me as 03 and the Year as 2002. Please do help me, is a simple question isn't it ?. Thanks for your earliest response.
Thank you.i have a directory structre of the format
REPTS2000209/E200209-98000001
in which 2002 is current YEAR
09 is current month
and 9800001 is the code i would submit(list box) from a form
so what i need is a program that can generate the above path and open that particular PDF file
so basically E200209-98000001.pdf is the PDF file.
i am submitting it from JSP page. PLEASE HELP ME how can i program. -
Few questions on Report programming
Hi guys,
I have few questions on report programming.
1. What is the purpose of the statement REPORT zxxx. Even if i gave a name other than my report name i don't find any difference in syntax check/Functionality.
2. What is the purpose of list headings in report program? This option will come along with the text elements and selection texts.
3. What is the purpose of logical data base. Even if it is efficient why don't we use it frequently in our reports? Is there any limitations?
All usefull answers will be rewarded as usuall:-)
Thanks,
Vinod.1. As u told that you dint get any syntax errors even after changing the Report Name,there are chances of getting Runtime errors.
2. The usage of List Headings is when you create a list in a program, you can also create your own list and column headings.
Refer this link for further info.
http://help.sap.com/saphelp_nw70/helpdata/en/e3/960a05eb0711d194d100a0c94260a5/content.htm
3. The Limitation of LDB is the usage of GET statements which act similar to SELECT - ENDSELECT And also if you dont choose the proper LDB,a single LDB may contain data retrieval from so many tables ,that it would make the entire process very slow and it is very hard to find LDBs for other modules than HR.
Only in HR module the data is organized in such a way thatusing LDBs would be much simpler.
Reward points if useful. -
Simple question about generate proxy
Hi guys...
This is a simple but a truly simple question....
When trying to create a proxy from our messages interfaces using SPROXY, i'm not able to get the Software component versions that were used from the sld...
Do I have to export them? Or import them?Hi Goncalo,
Check if it helps...
Re: SW component version not visible in SPROXY
Regards
Anand -
Question about the programming of a legend
Hello everybody,
I have a question about the programming of a waveform's legend. I
already asked here in this forum about the legend programming (03)
months ago.
I went satisfied but I ve just noticed that this code
(See Code old_legend_test.llb with main.vi as main function) operates a
little different from my expectances.
Therefore I have a new question and I want to know if it
is possible by labview programming to plot and show, on a waveform
chart, a signal with activ plot superior to zero (0) without to be
obliged to plot and show a signal with activ plot equal to zero (0) or
inferior to the desired activ plot.
I give you an example
of what I m meaning. I have by example 4 signals (Signal 0, 1, 2 and 3)
and each signal corresponds respectively to a channel (Chan1, Chan2,
Chan3, Chan4). I want to control the legend (activ plot, plot name and
plot color) programmatically. Is it possible with labview to plot signal
1 or 2 or 3 or (1, 3) or (2,3) or (1,2,3) or other possible combination
without to active the signal with the corresponding activ plot zero
(0)?
Let see the labview attached data
(new_legend_test.llb with main.vi as main function). When I try to
control the input selected values again I get them back but I don't
understand why they have no effect on the legend of my waveform chart.
Could somebody explain me what I m doing wrong or show me how to get a
correct legend with desired plots? Thank by advance for your assistance.
N.B.
The
both attached data are saved with labview 2009.
Sincerly,PrinceJack
Attachments:
old_legend_test.llb 65 KB
new_legend_test.llb 65 KBHi
princejack,
Thanks for
posting on National Instruments forum.
The behavior
you have is completely normal. You can control the number of row displayed in
the legend and this rows are linked to the data you send to your graph. Thus,
if you have 3 arrays of data, let say chan1, chan2 and chan3, you can choose
which data you want to display in your graph using the property node (Active
plot and visible). But for the legend as you send 3 plots there is an array of
the plot name [chan1, chan2, chan3] and you can display 0, 1, 2 or 3 rows of
this array but you cannot control the order in this array! So, to be able to
change this array you have to only send data you need to you graph. I'm not
sure my explanations are clear so I have implemented a simple example doing
that.
Benjamin R.
R&D Software Development Manager
http://www.fluigent.com/
Attachments:
GraphLegend.vi 85 KB -
Need a simple answer for simple question???
simple question... what is the best way to export my fce movie and burn it on idvd for the best quality for genaral use ... sd..4x3 ratio tv.. lots of ken burn effects on photos... lots of sd video... ???
not so simple answer... i have read manuals.. apple discussions.. etc etc my eyes are blurry.. i have been exporting out of fce to qk time movie, then import to idvd and burn..
i get lots of wavy or jitter when doing kens burn effects on photos.. i have been told that 1 field must be missing.. and its better to take the qk time movie convert it again making sure hi quality is checked(movie properties 720 x 480) and self contained movie, then import to imovie ver 5.02 which has better codecs then to idvd ... an apple store tech said..
then another apple store tech said...dv pro or dv stream or interlaced or on and on and on
its not 16x9, or for the web or anything but simply burn it and give it to my grandma to play in a standard dvd player.. best quality.. period.. i know it won't any better than my source video but the wavy photos bother me..
helpThe Apple store tech told you garbage. The quality will be the same. It's using the same QuickTime engine. There may be a difference because going through iMovie will go through a file conversion and the picture might be softened a little, which will mitigated this flicker you see.
The wavy photos can be a lot of things, most likely due to the nature of the images themselves and the movements you've done on them. What often works on still images is to apply a one pixel vertical motion blur in an application like Photoshop or Elements. This helps to reduce interlace flicker on motion when the material is brought into a video editing application. -
Jbutton to open a htm file in browser - simple question
not sure where to look for this, but its a simple question
I just want to get a jbutton (from a jFrame)to open a local htm page eg:
When pressing the button open:
C:\Documents and Settings\****\My Documents\profile.htm
- Open this with any browser
any pointers to look in the right direction, couldn't find it with search
I dont want to use a JEditorPane to display the htm, just open any browser
Edited by: Mr_Tuition on Dec 7, 2007 3:40 AMI also wont be able to use it to open an local file which will be set up differently on each computer:
C:\\Documents and Settings\\***\\My Documents\\JavaProjX\\Preview\\profile.htmI want to use just: Preview\\profile.htm so it opens from the same location with different users, but
try { Process process = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE Preview\\profile.htm");}
catch(IOException e) { System.out.println("could open IE");}opens: http://preview/profile.htm (incorrect location)
I have just found I can use System.getProperty("user.dir"); to get the location of my program (i think)
Edited by: Mr_Tuition on Dec 7, 2007 4:25 AM -
VERY SIMPLE QUESTION REGARDING UML DIAGRAMS IN JDEVELOPER
Hello there,
I have a very simple question. I want to know how I can convert a class diagram that I have created in jdeveloper into a jpg image so I can put in word. When I try exporting it only has the uml to xmi option
Does anyone have a suggestion?Hi,
Right mouse click on the class diagram,
than click publish diagram on the context menu
and save as jpg where ever you want...
Boris -
This is a very simple question,but I don't know.Please me.Thank you!
I am a Chinese student in a university.I have a very simple question to ask.
I have writed a EJB module,and I have deployed to Weblogic8.1 successfully.
1.Now I want to write a client program.Is it necessary that the client program is packaged in the EJB package.For example ,the EJB package is Beans,is "package Beans " or "import Beans.*" necessary in my client program.
2.If I only know the EJB interfaces,that means the EJB module is writed by other programer.I want to know how I can write the client program.How can I call EJB module's method writed by other programer.Could you give me a simple example?
Thank you very much.I have writed a EJB module,and I have deployed to
Weblogic8.1 successfully.:-)
1.Now I want to write a client program.Is it
necessary that the client program is packaged in the
EJB package.For example ,the EJB package is Beans,is
"package Beans " or "import Beans.*" necessary in my
client program.You need not package your client with the EJB. It can be a JSP/servlet or a stand-alone application.
2.If I only know the EJB interfaces,that means the
EJB module is writed by other programer.I want to
know how I can write the client program.How can I
call EJB module's method writed by other
programer.Could you give me a simple example?
import java.util.*;
import javax.naming.*;
import javax.rmi.PortableRemoteObject;
import examples.*;
class TestEJBHello {
public static void main(String[] args) {
Context context = null;
Object object = null;
// Hashtable for environment properties.
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, "t3://localhost:7001");
HelloHome home = null;
HelloWorld hello = null;
try {
context = new InitialContext(env);
object = context.lookup("HelloWorldTest");
System.out.println(" JNDI Looked up >>> " +object);
home = (HelloHome)PortableRemoteObject.narrow(object, HelloHome.class);
hello = home.create();
System.out.println(hello.hello());
} catch(Exception e) {
e.printStackTrace();
} finally {
close(context); // Closes the initial context.
private static void close(Context context) {
try {
context.close();
System.out.println("*** Context closed. ***");
} catch (NamingException namingException) {
namingException.printStackTrace();
} catch(Exception exception) {
exception.printStackTrace();
}Here's a sample client app code I use for a HelloWorld EJB. You need to have a EJB client JAR containing the home and remote interfaces in the classpath during compile time and runtime.
x -
Simple question about flex and AS 3.0
Hi, this might sound like a simple question so I apologize...
I have both a copy of flex 2 and 3, and i want to simply code in AS
3.0 not mxml. I referred to the help of both flex 2 and 3, and all
i could come up with is "you can add dynamic behavior to your
documents using actionscript", which means to me, you only write
your functions in AS and create instances with mxml (...ugh).
personally, i find mxml to be ugly (mainly because it looks like
html to me), and i'd rather not use it. coming from programming in
an IDE in Java, it seems like it would be nicer to have something
similar, all the while having the power and cool features of flash.
I'm not fully educated in this matter so i understand that i could
be totally wrong.
i mean, if i have to code in mxml, i will. i'm a web
programmer for a living, and if a more experience programmer said
something like "if you don't code mxml in flex, you'll never get a
job coding in flex", i would trust the advice, and learn the ugly
code. :)
yes, i do have Flash cs3, it's great but it seems like a pain
to me the way you organize classes.... i've only seen a few
tutorials, ones that explain how you cannot simply import a custom
class, you have tell your movie to link to it, put it in the same
directory, or manually name the package, it's sort of confusing.
my main point here is that i'm very eager to start building
apps in straight AS 3.0 instead of using flash cs3 (for some
projects), and it would be cool to get some help or be pointed in
the right direction.
to simplify:
can i write AS 3.0 and only as 3.0 in flex 2 or 3? how? can
you link me to a tutorial? any advise?
thanks!Hey William, thanks for the post. It's a great coincidence
because I'm reading that book as well. I'm about half way through
it, and I love it. I installed mxmlc on my linux box and am writing
pure AS 3 apps. I think that's the way to go, though I know it's
not for everybody.
My problem with mxml is that it has a weird syntax for
function calls, and it's not as 'intuitive' for a person like me,
who came from C++ and Java programming in the past. I like writing
programs in the C++ and Java style syntax, and since so many other
languages use a similar syntax, I don't see any reason to learn the
nuances of mxml, unless I was getting paid to do it. As far as I
can tell there is no benefit.
I hate using Flash to write flash apps as well, I feel like
they become messy and confusing, especially when trying to write an
OOP application. I only use it if I want to move an object in a
very specific way and can't do it with the Tween methods. -
Simple question about mount and delay script
Hello, I have a simple question about mounting volumes on start up.
My computer wakes up auto - and then auto there are serveral applescript tasks (mount and start up programs)
I use this script (daily) for serveral connections with external volumes I always need the connect to. ( In the script I use this code 3 times for other locations) I do this on start up.
set Uname to "XXX"
set Pword to "XXX"
set someVolume to "afp://XXX.XXX.XXX.XXX/XXX/XXX
mount volume someVolume as user name Uname with password Pword
(same code for 2 other locations)
When i do this on start up sometimes the script says there is no connection possible. I guess it's because on start up the connection isn't there. And 1 minute later when computer is total ready the connection is ok. When I run the script then It works. Just sometimes ( In the morning) 'It' want to connect but the script stops. When i do it manually(I run the script again) it works just fine.
Is it possible that I need a delay? Can someone explain this?
How would I make a delay handler for this script? Is that the best solution?
Thanks in advance. This is something small i'm wondering about.
ColinBTW, If you saved the script as an application +(and not as an application bundle)+ you could drop the script on to *Drop Script Backgrounder* (freeware).
Then the script would run in the background, so, you wouldn't see it running in the Finder.
<http://www.macupdate.com/info.php/id/7922/drop-script-backgrounder-x>
Tom -
Simple question - which HD to chose?
Hi everybody,
I have a really simple question, I am about to buy an external HD, my doubt is: do any HD work with TimeMachine in order to use it for my backups?Pondini wrote:
Noiseboy2006 wrote:
Steer clear of Seagate FreeAgent drives, they have hardware controlled sleep functions that can't be set on a Mac and its bloody annoying to have to wait for them the wake up all the time.
Not necessarily. I have one (in the "Pro" line) without any such problem.
With many drives, if you completely erase and reformat it, without loading any of the software that comes with it, those problems are unlikely.
Some will respond to the +Put the hard disk(s) to sleep . . .+ option in System Preferences > Energy Saver, some don't.
Some WDs, however, come with "spin down" programming that's near-impossible to remove.
Well it was certainly the case on 3 FreeAgent drives that I know of, and it was a well known problem that Seagate did nothing about. The drives would spin-down after a short time and cause a fairly long delay anytime drive access was needed.This was a hardware issue and nothing to do with the disk format. seagate provided drive manager software for Windows but not Mac.
I suppose the issue has been resolved in later drives but the point is not to assume that any old external drive is suitable for use with OS X.
Maybe you are looking for
-
Cannot establish secure connection to Apple Store
I've tried all the solutions I can find to no avail, but cannot seem to establish a secure connection to the iTunes store. No error code just a blank iTunes Store screen and a never ending attempting connection. Some of what I've tried: * Date and
-
Spotlight does not stop indexing
I need help: Just started the brand new MacPro 2x 2.66. The long desired spotlight (I run osx 1.3.9 before) does not work. Spotlight never stop to index. It runs and runs. If I add the hard drive to privacy in the system preferences it stops, but as
-
Ok, hi. I'm new here and I would like some help on things I don't know how to do with java. I'm creating a java RPG game, respectfully named RPG, and I need some help on these things: 1.) A random number generator. This is needed to apply "level up"
-
ICloud sign in before replying to email
HI people could someone tell me after the iOS 8 update when I go to reply to a email iCloud sign in pops up ?? And can this be removed or turned of ?? Any help much welcome Thank you
-
Coverpage printed before groups with bursting
Hi All, I'm investigating the possibilities for invoice printing. I need the the documents printed with cover pages. coverpage1, invoice1, invoice2...., coverpage2, invoicen, invoicen+1, etc I have a template file for the invoice and for the cover pa