How to make a complete app?

Hi, I am a newcomer to Java and I have been using Powerbuilder for the last 7 years. I hope I can get some help here.
In PB, I can basically create a whole application (the GUI, the installable etc..the kind of files you download from www.download.com for instance). I have bought a book on Java called "Complete Guide to Java" and have learnt a few good code snippets.
But, I am getting impatient and would like to see some book or tutorial that takes me from the scratch and helps me make a whole application (it could be something simple, like a text editor application)....starting from writing the code, to packaging it in such a way that users of UNIX, Windows and Mac can install it in the same way!
Can someone point me to the right resource on the net, or in a book where I can get such information?
Thank you!

anything you create can be made into a java executable
using the jar tool.
this is not really like linking object files in C++.
But really just a packaging thing.
when you create those .class files that's it.
the trick to making the .jar file executable lies in the manifest.mf file inside.
it needs a reference to the class with main.
so say you write your editor
then make a manifest.mf file for your .jar that goes
Manifest-Version: 1.0
Created-By: 1.3.0 (Sun Microsystems Inc.)
Main-Class: SimpleEditor
you put that in the same directory with all your class files.
cd to that directory
type
jar cmf manifest.mf SimpleEditor.jar *.class
there you will have your portable cross platform executable that in Windows is double click and go
on unix you have to type java -jar SimpleEditor.jar
sorry I can't help with a book example
email me and I can send you a simple editor if you like
[email protected]
I was going to paste it in but that leads to the reality of this stupid netscape browser can't seem to see my linux clipboard
Anybody got a cure for that one ??????????????

Similar Messages

  • How to make a completely transparent button in Flash Builder

    I am making a mobile application, and I am wondering how to make a completely transparent button. I've tried using
    <s:Button x="-5" y="0" width="410" height="1504"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Sun)"/>
    But it still has one line on the side. I need a way to make it completely transparent.
    Thanks,
         8th grade student

    Try this alpha="0.001"
    Also add useHandCursor="true" and buttonMode="true" if you wish to have the hand cursor appear on hover.
    example  x="10" y="10" width="169" height="54" label="Button" alpha="0.001" useHandCursor="true" buttonMode="true" 
    HTH

  • How to make an apple app

    How to make an apple app?
    Plz respond

    To become a developer, (that's what Apple calls people who create apps) you must have a Mac. Once you have one, download Xcode. That's the program Apple uses to create apps. (You must know how to code!) Create a developers account (create a different Apple ID for this because if you don't, every thing gets confusing) and buy the developers kit. That's it!

  • How do I uninstall "completer" app ?

    I keep getting a pop-up message prompting me for my password, because "Completer wants to make changes". How do I uninstall this app. And is this malware ?

    There is no need to download anything to solve this problem.
    If Safari crashes on launch and you don't have another web browser, you should be able to launch Safari by starting up in safe mode.
    You may have installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before making any changes.
    Besides the files listed in the linked support article, you may also need to remove this file in the same way:
    ~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
    If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those.
    After removing the malware, remember to reset your home page in all the web browsers affected, if it was changed.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
    Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • How to make iPad 2 apps

    I have an amazing idea for an app but I don't know how to make one. Can you help me

    This is probably a good starting place : http://developer.apple.com/ipad/sdk/
    You should probably also register/use the developer forums : https://devforums.apple.com/index.jspa

  • PLZ HELP ME! -- How to make a developer app. Client / Server?

    Can anyone tell me how to make a developer application (which i have build) Client/Server?
    I would like to make a installation cd which i can run? Which program can i use for this and how does this work.
    Thanks,
    Vincent

    Assuming that it is a Forms 6i application, it is in client/server mode already. The fmx files will be installed in the client machine. The application will connect to a databse located on another machine (server) through Oracle client software (SQL*Net) which will also be installed/configured on the client.
    Regards,
    Rajesh

  • How to make/create an App

    Is it hard to make an iPad App? And if the App is finish were will i submit the App?

    Good morning Fanboy
    I'm sure it's straight-forward.  The difficulty is usually the compelling idea that others will want to use it.
    Lots of material if you your Google your question.
    Here is a good link.
    Hope it helps and let us know when it's ready!
    http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/ YourFirstAppStoreSubmission/AboutYourFirstAppStoreSubmission/AboutYourFirstAppSt oreSubmission.html

  • How can i remove completer.app

    how can i remove completer.app

    Click here and follow the instructions, or if there’s a type of adware not covered by them on the computer, these ones.
    (120455)

  • How to make it completely silent (IM still vibrates)

    I need to make my phone go completely silent when I push the switch over. I've changed the messaging and the calls, those work, but I'm still having a problem with Instant Messenger. I've gone into global settings and unchecked the Enable Sound box, but when I'm outside of IM and I get a new one, it vibrates which is really a problem. Do you guys know how I turn this off? I don't want to have to be signed out of IM if possible.  Thank you!
    Post relates to: Centro (AT&T)

    Hello!
    The IM program controls its own volume/vibrate settings which are not found in the Preferences app on your centro.  Unfortunately this application does not have GUI setting to toggle this feature, its a static setting.  I belive that Butler can help you with this though.  Butler lets you control your device in a very detailed way and uses its own preference library which is independent to the os prefs. 
    Post relates to: Treo 650 (Unlocked GSM)

  • How to make a Java app compute an MD5sum of itself

    I am trying to write an open-source online Java game which will feature, among other things, an online economy system. The problem with this is security: I need a way to verify that the client app accessing the server has not been modified in any way. The client will be available as both an applet and as a standard Java application, making this somewhat more difficult.
    My current plan is this: when the client connects to my server, it will download a heavily-obfuscated JAR file (the security module of the program does not need to be open-source), and that JAR file will tell the client to compute an MD5sum of itself, as well as gathering a bunch of other data and heavily encrypting it, and it will send this data back to the server. Unfortunately, I do not know how to accomplish either the loading of the classes in the downloaded JAR or the making the program take an MD5sum of itself. I cannot have the program take an MD5sum of the JAR file on disk, because its name may have been changed, and it would not work for the applet version. Somehow I would have to compute a checksum of the code stored in memory, and send that. Is this even possible? Or is there a better, less convoluted way to accomplish what I'm trying to do?

    ejp wrote:
    You need to read the [Signed JAR file specification|http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Signed%20JAR%20File]. The .class files are digested. The digests are listed in a supplement to the manifest. The manifest is signed with a certificate. All that has to be reproducible at the recipient otherwise the JAR is corrupt. It can only be reproduced if the bytecodes agree with the digests and the signature of the digests agrees with the signature in the manifest, in other words essentially if the JAR is signed. And if it is signed by your certificate, it is your JAR file. Otherwise it is either corrupt or somebody else's JAR file. And only you can sign with your certificate because it is done with your private key, which is, well, private.Now it makes sense, thanks. But there's still one piece missing: how do you tell the server that you're running the signed version of the app? And how does the server know that the client is telling the truth?

  • How to make my iphone app appear in the share list of another specific app (in browser)

    I know it is possible in android, but not sure about ios.
    Thanks

    Yepp I know that, but can we make a service which behaves like facebook or twitter app.?
    For e.g. When we click on share, it would show myapp in this share list. So I could share links with myapp.
    I heard about "Custom URL Schemes" through which third-party apps can communicate, but how could I implement this for every link on ios browser?
    Any suggestion would be helpfull for me.
    Thanks

  • How to make Pages default app for .doc files

    How do you make Pages/Numbers the default app for all .doc/.xls files?

    Welcome to Apple Discussions
    Highlight a known Word document in the Finder, highlight it & choose Get Info from the File menu. In the Get Info box, click the triangle next to "Open With." Click on this drop-down menu & choose Pages. If Pages is not a choice, choose "Other" & navigate to the Pages application. Now click the "Change" button under the text that asks if you want to open all documents like this with Pages. Repeat with Excel documents & Numbers.
    Be aware that the icons for these documents will be plain white icons.

  • How to make a complete delete of Webdynpro?

    Hello:
    I deployed some WD project but now I need to make some transport tests on the same server, so I need to delete that deployed content to have a clean environment as non of the app were deploy once. With the <b>usr/sap/<system ID>/jc00/sdm/program/Remotegui.bat</b>  I UNDEPLOY the WD app. I saw their state at http://host:50000 -> Web Dynpro -> Content Administrator -> Deployed Content ->local  and NON deployed content appears but the app still work at SAP Portal.Why the app keeps working? It seems that the delete action is not complete? What did I miss?
    Thanks a lot.
    RLS

    Undeploy the WD project using SDM. Run the sdm_remotegui.bat available under "usr\sap\<SID>\JC<Inst.Number>\Shortcuts". You may follow <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/239adcca642185e10000000a114cbd/frameset.htm">Undeploying Components</a> to get the steps to be followed to undeploy a DC/Project.
    Bala

  • How to make Pages Default App

    How do i make Pages my default app and not "textedit".
    THANK YOU

    smccray,
    Welcome to Apple discussions.
    You can set any file type to open in Pages, and it’’s surprisingly easy: just go to the Finder, single-click on any a file, then type command-I (Get Info). Click on the Open With... menu and select Pages (or navigate to Pages if it’’’s not in the menu). To make all files of that type open in Pages, click on the Change All button. You can do that with .doc, RTF, .txt, and other types of files.
    -Dennis

  • How To make Folders For Apps?

    I'm a newbie convert to the iPhone, and can't figure out if I can make Folders for my Apps. I'd like to keep similar apps together without having to search through to locate any specific app.
    Any help would be appreciated!

    To make folders, enter the app editing mode by holding your finger on any app. Little white X’s will appear above each app, and all apps will shake back and forth. Hold your finger on the app you want to add to a folder and drag the app towards another app that you want to add to the new folder. You'll then be given the option to edit the folder name. By default, iPhone gives the folder a generic name that may or may not have much to do with both apps. Click the bottom of the screen to return to apps edit mode. The new folder now appears in the list with the name you gave it, and with small icons of the apps contained in the folder. From here, you can drag more apps into the new folder. To remove apps from a folder, click the folder and simply drag the app’s icon to the main part of the screen with the other apps. When finished, hit the home button.

Maybe you are looking for

  • Can't see Menu Bar in Windows 8

    Please help... I'm new to Windows 8. I have the latest version of Skype. But I can't see any Menu Bar. All I can see is Home (at the top), Add Number & Save Number (at the bottom). I have done a restart since I installed it, which I assume is the sam

  • Add customer button on header level for BUS2201(PO) - SRM 7.0

    Hi, I want to define a customer button (with action) within PO on header level. Web Dynpro           FPM_OIF_COMPONENT Configuration          /SAPSRM/WDCC_FPM_OIF_PO_PURCH Task: Add a customer button besides standard Export button. I assume-afterward

  • Using iWeb files in dreamweaver

    Here's the deal. I built my website in iWeb, no problem. I upgraded my hard drive and backed up the files I uploaded (not using .mac) and now I can't just edit my site. iWeb won't open what it created and dreamweaver just opens up blank pages. What d

  • Front Row - distorted audio

    Since installing Leopard, the new Front Row plays audio in a distorted manor. The track timing is fine just the sound is hideous. I fear it has insulted my Bowers and Wilkins somewhat I noticed iTunes had an enhanced audio mode, not sure how long tha

  • Soundsticks and Intel mac 24"

    Hi, first of all I own the first issue soundsticks and iSub. I now understand there is a soundsticks II. First question, what is the difference? Assuming I have a reply to the first question, I've heard that soundsticks II do not work with the new in