Re: ProgramMenuBar problems
What is ProgramMenuBar? This isn\'t part of the standard java library, so I recommend posting its source or library, because without its hard to help debug
Re: ProgramMenuBar problems
Also when posting code, please include all the import statements.
Re: ProgramMenuBar problems
Quote:
Originally Posted by
Norm
Also when posting code, please include all the import statements.
Ok, I'm going to edit original post rather than just copy and paste and make a new post.
ProgramMenuBar is from acm.program.
The acm.program.ProgramMenuBar Class
Re: ProgramMenuBar problems
If you'll get rid of the acm packages, then more people could help you. Not everyone has those packages.
Re: ProgramMenuBar problems
Well, I have no clue how to make a menu that lets it print. acm will do it, somehow.
Is there another way...a way that won't involve something very very complex?
Re: ProgramMenuBar problems
Re: ProgramMenuBar problems
ACM also has a save as feature, and, as most practical programs aren't much good if they can't save, I really would like to know how to make that part work.
Re: ProgramMenuBar problems
Re: ProgramMenuBar problems
Quote:
Originally Posted by
Darryl.Burke
See #2 and #5
db
Ok, but what about saving? Is this a FileSaver class or something?
Also, my print job won't let me print select pages, say pages 1 -10 of a 20 page document. It only lets my do all the pages.
So tired, biked at least 16 miles.
(:|(:|(:|(:|(:|(:|
Ok, I fixed the printing dilemma but how do you get it to save something, say a bunch of text fields, or a JTable being used as a sort of database, or just a plain regular file? Can you save a file as .exe?
Also, how may I ask is it possible for a method, not a method call but a method, to be inside the main method, or any other type of method for that matter? I've seen it and sometimes those programs actually compiled for me. I thought you could have inner classes but not inner methods. Did I learn it wrong?
Also, why does main have to have a String array as a parameter. Why not just a String, or even a String Vector, or some other variable even?
Is pretty much every class auto-implementing something, just like every class I make automatically extends Object if I don't tell it to extend something else, which by the way, that other class extends Object or is an ancestor. Speaking of which, what is an Ancestor Listener?
Is it
a.) A Listener that, say I push a button in window one and it opens window two; I then do something in window two and the Ancestor Listener makes something happen in window one
b.) A Listener that will use a Listener of a super class or one of it's ancestors
c.) A Listener that simply tells which Component called it.
d.) A Listener that shows your family tree #-o8-}8-}:)):))
e.) A Listener that quite seriously has to do with the Java Tree classes.
f.) A Listener that somehow involves a JOptionPane and it's parent component.
g.) None of the above
h.) More than one of the above (please explain)
Anyway, does it auto-implement something that requires a main, something not required for some reason for JApplets, method.
Re: ProgramMenuBar problems
Nothing similar about it at all, spammer. Abuse reported on all 11 posts.
db