How to complie an application with many classes?
I build an application with many classes,
java palm.database.MakePalmApp -v -version "1.0" -icon 1.bmp -bootclasspath %j2meclasspath% -networking -classpath output %1
this only works with only one class, I do not know if I have an application with several classes how can I convert them into a prc??
Take a look at the mksample.bat file that came with
midp4palm:
java -jar MakeMIDPApp.jar -version 1.0 -type Data -creator mJav -nobeam -v -o ManyBalls_new.prc -JARtoPRC ManyBalls.jar example.manyballs.ManyBalls
You will need to create a jar file consisting of the
classes for your application, and then run it through
a statement like above.
Perry
Similar Messages
-
How to start a application with a login window?
hi there
does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
<code>
// set up thread for login window
new Thread(new Runnable() {
public void run() {
// construct your login window here
// when you are done processing the
// password....
if(goodPassword) {
authorized = true; // a global variable
notifyAll(); // don't forget this
else {
System.exit(42);
}).start();
// control does not stop this code gets executed while
// the above thread is running.
// Set up main program here. This is done in the
// backround.
while(!authorized) {
synchronized(this)
{ wait(50); }
// now when the user logs in this frame pops
// up real quick.
myFrame.setVisible(true);
</code>
Hope you can figure it out.. good luck :) -
How to download the application with my apple ID
how to download the application with my apple ID
What have you tried or are you asking how to do it from scratch?
https://itunes.apple.com/us/app/apple-store/id375380948?mt=8 -
How to write sql query with many parameter in ireport
hai,
i'm a new user in ireport.how to write sql query with many parameters in ireport's report query?i already know to create a parameter like(select * from payment where entity=$P{entity}.
but i don't know to create query if more than 1 parameter.i also have parameter such as
$P{entity},$P{id},$P{ic}.please help me for this.
thanksYou are in the wrong place. The ireport support forum may be found here
http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=showcat&catid=9 -
How to deploy cairngorm application with FTP support?
Hi,
I have a cairngorm application, it works fine in my local
computer.
But I need to upload it to a website in my web hosting
company with FTP,
but it doesn't work in the hosting server because I can not
add the cairngorm.swc file to the application.
Please give me a idea how to deploy the application with ftp
software.
Thanks a lot
MarkAny opinions are welcome
-
Anyone know how to gernerate CRUD applications with flex and coldfusion?
Anyone know how to gernerate CRUD applications with flex and
coldfusion? I am working with a remote coldsfusion installation
with MS SQL and I don't have RDS.You might investigate "squidhead". It is CF based. I'm not
sure if it has any Flex related features.
http://squidhead.riaforge.org/ -
Hi,
I developed one web application using oracle database. I want to implement same web application in android. My problem is how to integrate android application with existing oracle database using oracle database mobile server. Can u please guide me how to install oracle database mobile server and how to integrate android app with existing oracle database..
Thank you.In the Database Mobile Doc set there is an entire book that covers the Installation of Oracle Database Mobile Server. Chap 4 of that book contains screen shots and all kinds of information that will help guide you through the installation. We also have a doc on the different mobile clients. Chap 2 of that guide covers installs and integration of an android app.
thanks
mike -
How do I uninstall applications with a MacBook Pro?
Hai, I need help finding out how to uninstall applications with a MacBook Pro?
-I just got this computer 5-6 days ago and I hardly know anything about it. (AS expected from a new user to a Mac computer. ) Everything is kind of confusing to me especially with unziping and ziping files.
-I have researched trying to find out ways to uninstall with a Mac but everyone seems to have a different way to uninstall. And I really don't want to do something to mess up my new computer while trying to find out how to uninstall applications. (These computers are "expensive" and are non-returnable.)
If anyone can answer my question that would be so great and I would surely appreciate you!
Thank you, CreeSuki.
OH, and if needed I am running on operating system "Lion" (Rawrrrr). And I am trying to uninstall Adobe Photoshop CS5.1 in general.
Thank you!The basic way to uninstall an app is just trash it. But to get (most, sometimes all) of its associated data files, for example, preferences (usually .plist files in ~/Library/Preferences -- ~ is your home directory) you either have to know what to look for or try to use one of the 3rd party generic uninstallers. Here's a (partial?) list of potential uninstallers:
Amnesia
AppCleaner
AppDelete
AppZapper
CleanApp
iTrash
TrahsMe
Go to www.macupdate.com and search for them.
Note, there is no guarantee these uninstallers will find all the potential stuff an app can install but even if it misses stuff no harm is done other than wasting a little disk space.
Oh, almost forgot. Many apps that come with their own installers sometimes provide their own uninstallers to uninstall themselves. Use those if they are provided instead of one of the generic uninstallers. -
Flash voice conference application with many users
Hi support,
We need to develop a flash voice conference application with using “flash media server”.
The number of connections can be up to 20,000. So please suggest is it possible with “flash media server”. Can it also possible with “Peer to Peer”.
If we use “flash media server” what configuration needed for.
You support will help us.
ThanksYes such kind of application is very much possible with FMS - with and without peer-to-peer. Peer to peer would save lot of bandwidth cost in long run.
But question of configuration is not pretty straightforward - it will depend upon requirements of your solution like how the traffic would be - whether it would be two way or one way , how high bit rates would be , whether it would be only audio or video too , whether one machine would suffice or you would have to go for bunch of them to load balance and many others. -
How to create an application with a 'Windows' like interface?
Hi,
I am trying to create an application with an windows like interface where menu selections need to open bound taskflows in a page/window but i can not get it to work. I did the following
- i created a page template with a panelStretchLayout
- added a menuBar with commandMenuItems
- created a start page based on the template
- created bound taskflows with page fragments for all menu items
- placed a dynamic region on the start page which initially shows a taskflow with an empty/blank page fragment
- change the dynamic region taskflow from every menuitem and added partial triggers on the dynamic region for every menu item
When i run the application the first empty page fragment is showed correctly but when i select a menu item the correct new page fragment is showed but it keeps showing a loading data .... hint and seems to freeze. So no data is showed while the underlying datacontrols work while using the bc tester.
Besides this problem i am wondering if i at all am going the right way with this with using a dynamic region? In the final application i will have a total of about 25 menu items over several menus and if they all will be showing in one main dynamic region with partial triggers set to all menu items it may get a bit complex? I saw you can also create a window in a popup which i like even more because it looks like an actual window but this is modal. I would like a bound taskflow to be opened whenever a menu selection is made.
Any pointers or tips or the solution to not showing data?
Kind Regards,
AndreHi Sascha,
If have not encountered that problem. Are you sure you have a taskflow entry under the executables tag in the page definition of the page which has the dynamic region on it? I have one like this:
<taskFlow id="dynamicRegion1" taskFlowId="${DynamicRegionBean.dynamicTaskFlowId}" xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
During the selection of its initial value when it is rendering for the first time it should have the session bean already initialized. My bean looks like this:
public class DynamicRegion {
private String taskFlowId = "/WEB-INF/startTF.xml#startTF";
public DynamicRegion() {
public TaskFlowId getDynamicTaskFlowId() {
return TaskFlowId.parse(taskFlowId);
public String feitenTF() {
taskFlowId = "/WEB-INF/feitenTF.xml#feitenTF";
return taskFlowId;
public String themasTF() {
taskFlowId = "/WEB-INF/themasTF.xml#themasTF";
return taskFlowId;
public String feitCategorienTF() {
taskFlowId = "/WEB-INF/feitCategorienTF.xml#feitCategorienTF";
return taskFlowId;
The startTF is the initial taskflow and the other methods are being called from my menu. The dynamic region has the menu items as partial triggers. That is all i did.
Kind Regards,
Andre -
How to run others applications with abap commands
Is there a mothed that can use it to run an application with abap statement?
for example: how to open a text file in program with abap command?
thank you very much.CALL FUNCTION '<b>WS_EXECUTE'</b>
EXPORTING
DOCUMENT = ' '
CD = ' '
<b>COMMANDLINE</b> = ''
INFORM = ' '
<b> PROGRAM </b> = 'NOTEPAD'
STAT = ' '
WINID = ' '
OSMAC_SCRIPT = ' '
OSMAC_CREATOR = ' '
WIN16_EXT = ' '
EXEC_RC = ' '
IMPORTING
RBUFF =
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here...
In the <b>CommandLine</b> you can give the path where the file is located like for Example
C:\Test\Hello.txt.
In the <b>Program</b> you need to give the application that you want to open that file.
if helpful reward points...
Regards,
Vivekananda Varma Dandu -
How to create a Jar with only class files?
Dear all,
I want to create a jar file with only classes.My class files and java files are in different folders under com .
say
com
in com there are two folders
folder 1 -- subfolder 1
folder 2 -- subfolder 2
like this.
If i want to create a jar file from com directory how should i give the jar command.Again my jar should contain only .class files.
Any help will be appreciated
Thanks
lekshmiIt doesn't work.Says "No such class or directory"
Any other way Or is it possible to do so?Read the link I posted and create the statement to make your structure. I was thinking you were inside the com directory but if you are above it you will need something like this instead:
jar -cf test.jar com\*.class com\subfolder1\*.class com\subfoler2\*.class
But either way don't just copy and past this. Think about what is does so that you can make it work for you.
Also, you might want to look into using Ant if you are going to be building this a lot. -
URGENT: How to fix an application with the screen resolution?
HI everyone,
I am desprate and need help.. I have developed an application with Java swing and awt (JFrames, JPanels and...). This application displays perfectly with 1280 x 1024 screen resolution but in a situation where the screen does not support this resolution, a part of my application will not appear. I can not even scroll down to see the reste of the components. Does any one has any idea that how I can resolve this problem! I mean how either I can make my JFrame or panel to scroll down or to change the size of the components according to the resolution!
Thank you very much and wait for a reply :)One of the possible reason of the problem is you must have hardcoded the size of panels and other container that is just right for the screen resolution 1280 x 1024.
The solution is set the size of the containers that depends on the resolution of the screen.
You have not explained much detail about the scrolling problem. But I suppose that you have a scrollpane in you GUI and you want to scroll the component inside it even at another resolution.
try using this
if p is the panel that is added in the scrollpane then set its prefered size.
p.setPreferredSize(resolution dependant size). -
How to connect Java Application with database!
Dear all, now I am create a dababase application. My database use JData Store. But I don't know how to connect application with it. Can you tell me this proplem?
Thank!Do a google search for JDBC, or go buy a book.
You will need a JDBC driver which supports your database. Or you might be able to use the JDBC-ODBC bridge if there's an ODBC driver for your database. -
How to Deploy J2ME applications with data in RMS?
Hello everyone,
I am designing a J2ME application, a simple "Who wants to be a millionaire game". It stores questions and answers from a rms datastore. I want to to how can I deploy this application with questions and answers in the recordstore. Each time I run the emulator, the data stored previously gets deleted. Is it possible to attach the rms recordstore along with the .jar or .jad files? If so how can I do it. Please help.
Thank you all in advance.Thank you Sypress.. When I install it the code works fine. But I wanted to include data with the application. I think I found a way way. I added the data in a text file and while starting the application I inserted data from the file into the recordstore.
Maybe you are looking for
-
HOW do i set my computer up to learn jave
I would like to set my computer up to start to learn how to program in java . Can anyone tell me what is the best way to do this . should I work from dos and have all my files set up it dos please let me know .. Javasomedaysoon
-
j'ai branché pour la première fois mon ipod touch sur un mac, on m'a proposé de le restaurer comme mon ancien ipod touch et s'en le vouloir j'ai cliqué "oui" comment annuler cette action ?
-
Run a LabView 2012 executable without installing RTE.
I have a thumbdrive with a LabView executable that is ready to run. I want to be able to run this executable on different PC's without having to install the Run Time Engine on each machine. What dll do I need to have in the same directories as the
-
Dear Friends, I was curious to know if there are standard SAP Roles for MAU Application in SAP IS-U Backend System?. Thanks in Advance Suresh BJ
-
I just returned to Java after a year in Ruby. Ruby had this handy loop for processing a range of numbers: for i in 1..10 do /* handle i in here */ endSo I wrote a Range class. Now the equivalent java, very nearly as handy, is: for (i: new Range(1,10)