Wrap it in an .app?

With Intel Macs, Rosetta does not emulate BSD programs as it does an .app. I notice, however, that I can easily use the OPEN command to invoke an .app from Terminal. I do this all the time with TextEdit.
This leads to an idea: wrap a BSD program somehow to make it look like an .app, and then invoke it with OPEN. I'm not enough of a Unix expert to know if this is feasible, or easy to do. If, however, somebody out there sees a simple way to do this, or even a partial solution, it could be much appreciated.
I am inspired by the fact that Terminal is, in fact, Terminal.app. Does terminal run in emulation on Intel Macs, or has it fully been recompiled? Can you wrap up Rosetta as a BSD program, and then make it run another BSD program, or emulate the whole of a pre-Intel Terminal.app?
This could amount to a nifty piece of shareware, but I suspect somebody else out there could do it with more facility than I could.
You can't step twice in the same river.

MacLemon --
Firstly, look at my earlier query about "Rosetta AND BSD." Darwin programs will not be emulated, was the definitive answer.
Basically, I want to run Artificial Intelligence sorts of things: Lisp, Haskell, Prolog, etc. I have my hopes up for building MIT/GNU Scheme and SBCL, because they already have running versions using the X86 instruction set, and also have web-pages on how to build for "other Unix Systems." I'm just procrastinating a bit, because of the trouble I had once getting clisp-2.27 to build, finally doing it from a CVS.
I would just like to tweak some professional Unix maven to write a sort of wrapper. To clarify, I use TextEdit as my normal Darwin editor. How? With this alias ...
alias edit='open -a /Applications/TextEdit.app'
Maybe somebody can connive a general way to stick something in /Applications so that the same trick could load something like GNU Prolog.
Hey Apple, you hear this? If this is easy, you could make a bundle selling machines to the AI community!
I promise that when I take the plunge, I will report any success at building things on Intel-Darwin (sounds like a safe-house for Australian covert action).
-- devious dan

Similar Messages

  • Embedding/Wrapping a Native GUI App in Java?

    Hi, we have loads of C++ GUI applications... I'd like to be able to embed/wrap some of them inside our swing app's. I believe this is possible, but don't actually know the terminology to get started with this.
    --Cheers :)                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    This is going to be tricky, but as a starting point you might want to check out Java AWT native interface.
    http://java.sun.com/j2se/1.5.0/docs/guide/awt/1.3/AWT_Native_Interface.html

  • Offline mgs apps

    can anyone from usa receive my text using the same app from offline while I'm sending from online?
    suggest me some apps rerelated thank you:)

    Thx for reply.
    I don't believe this is what I'm after.
    I think the only way I can run a web app is using a web server (I need to run servlets which require database acsess), but an alternative server needs to be available when the laptop is off line (ie running on the laptop). Is there is a lightweight web server that is easy to install without lots of overhead (in a similar way that MS have a Personal Web Server) ?
    Or alternatively is there a framework I can use which wraps up the web app and makes it look like a web application running off localhost ?

  • Offline web apps

    I need to write a web app that will be deployed on an intranet and also on offline laptops (no network connection). I'm going to use Tomcat as the servlet container for the intranet version. Would it be "normal practice" to install Tomcat on the laptops or would the perfomance to too poor ? If this is a reasonable approach, how do I prevent others accessing the local Tomcat server when the laptop goes online ? If it isn't, what are the alternatives. I'd like to know how others have approached this problem.
    Thanks in advance.

    Thx for reply.
    I don't believe this is what I'm after.
    I think the only way I can run a web app is using a web server (I need to run servlets which require database acsess), but an alternative server needs to be available when the laptop is off line (ie running on the laptop). Is there is a lightweight web server that is easy to install without lots of overhead (in a similar way that MS have a Personal Web Server) ?
    Or alternatively is there a framework I can use which wraps up the web app and makes it look like a web application running off localhost ?

  • App-V can't handle application with backslashes in FileTypeAssociation ProgId

    I've been working on sequencing an application which writes something like this to HKLM\SOFTWARE\Classes (actual vendor & product names changed):
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.someextension]
    @="VendorName.Ext\Foo\Bar"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VendorName.Ext\Foo\Bar]
    @="The App Name Shortcut"
    "InfoTip"="blah blah blah"
    "NeverShowExt"="-1"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VendorName.Ext\Foo\Bar\shellex]
    When I try to sequence this, the sequencer tells me "Invalid manifest detected". When I add this package to a client, the debug logs show:
    2015-Feb-12 11:52:45.699 - Manifest: [1792].[4448]: ERROR: ManifestUtilities::ValidateDocument() - A manifest document failed validation against the schema(s).
    DOM Error: -1072897687
    Reason: 'VendorName.Ext\Foo\Bar' violates pattern constraint of '[^\\]*'.
    The element '{http://schemas.microsoft.com/appv/2014/manifest}ProgId' with value 'VendorName.Ext\Foo\Bar' failed to parse.
    AppxManifest.xml contains:
    <appv:Extensions>
    <appv:Extension Category="AppV.FileTypeAssociation">
    <appv:FileTypeAssociation>
    <appv:FileExtension>
    <appv:Name>.someextension</appv:Name>
    <appv:ProgId>VendorName.Ext\Foo\Bar</appv:ProgId>
    </appv:FileExtension>
    </appv:FileTypeAssociation>
    </appv:Extension>
    I worked around this by moving VendorName.Ext\Foo\Bar to a new location where .someextension didn't need slashes to refer to it, but I'm wondering whom I should send a bug report to. Should
    the vendor not be writing this value, or should App-V be handling these backslashes?

    The application is
    The Raiser's Edge 7.93. The install & update process is ugly (unless users are all administrators), so I've been experimenting with wrapping it in an App-V container.
    Are you aware of any Microsoft documentation I can point them at to back this up?

  • Why doesn't SAP use SAPUI5 for this and that

    This is my personal opinion about this topic! Again and again I stumble about this and now I want to share some of my thoughts about this topic. I want to share this from a point of view, when I was not a SAP Employee - I worked at a SAP Partner company - because this best reflects the view from the outside.
    1. SAP "wants" us to use SAPUI5
    I don't think that "wants" is the right word - the right word is offers! In terms of: hey now even included in your license and open sourced (because you wanted it so). Look - we build sooo many Fiori apps with it - and put in some great enterprise features (right to left, accessibility, translation, ...) and it is responsive. So if you want to build Fiori-like "apps" - there you go - this is your technology to go! This is what I understood.
    I was very very very happy that it was build with open standards. But the main point for me another thing - (because I worked with Sybase Unwired Platform and SAP Mobile Platform) OMG an open data protocol!!! OData FTW! I could use ANY front-end technology and consume SAP data - the protocol is REST based - a dream came true. And so I did - yes I played around with Sencha Touch and OData, I used data.js and used it in a standard HTML5 application. We played around with an iOS application we already had and consumed the data. I feed the data into d3.js. I prototyped around with SAPUI5 and I have build apps with it. Brilliant, so I could choose whatever UI technology I wanted.
    I always had the feeling, that SAPUI5 was meant for B2E applications - and building many of that - and they should look and feel the same and I can theme the apps. I can use it when I want to make my applications SAP like - so that the user thinks the apps are all the same and everything fits nicely into the Fiori launchpad - great if you want to build partner apps. In my ex company we won a SAP Pinnacle Award - for a native iOS app, no SAPUI5 in sight - but we have received an award, so SAP did not "want us" to use SAPUI5 ;-)
    2. Is it the right UI technology for everything?
    At my ex-company I was dealing with mobile applications and web apps. I always knew that I get the best user experience when I write a real native application and if you want it to look like in a very specific way with awesome UI --> you would not do it with a write-once-run-everywhere HTML5 super-styled wrapped (phone gap/cordova) app - you would write the apps for the specific platform and it should feel like it was written for the platform. SAP offered us the SAP Fiori Client that I could enhance the user experience for the Fiori apps, but I was never told to use SAPUI5 it for everything.
    The same discussion goes on with: why was the new SAP website not build with SAPUI5, or the UX Explorer (eat your own dog food), or a useful internal app - why Angular, or the other way around why do we even use SAPUI5 and not Angular JS itself. Back to the past - SAP did never tell me to build a website with it, or to build something tiny and small with it (a widget) - or to enhance parts of a website with it - or to build something super-specific with it.
    And yes maybe the UI in a mobile app was not SAPUI5 but do you know if it uses Gateway with OData or the SAP Mobile Platform, was the API managed with Apigee, was HCI involved in getting the data from different sources, was it maybe wrapped with SAP Mobile Secure, did it maybe use a HANA backend or some of its features (predictions, text analytics, ...) - are some backend parts maybe hosted on HCP - who knows? So yeah, maybe other SAP technology was involved which you don't see, but in the end it made your life simpler.
    Instead of arguing around why this and that was used for this and that - can we save our energy and instead look at the result - which is all what counts - that it was the right UI technology with the right user interface which makes the user happy? I stated something like - does Google use AngularJS for everything? Nope. They offer us something great we can use. Right, maybe AngularJS is not as important for Google like SAPUI5 is for us. But we have something with which we can build our day-to-day business apps with and we do so.
    3. We missed great opportunity in not using SAPUI5 for this and that
    Let's think about how projects are going: you want something, you look at the costs, you choose most efficient option. Yes this could mean reusing an existing native application which was written long ago and you pimped it up. Or you had outsourced it to a company which wrote a similar app. Or you bought the source code. Or you have some cheap internal staff which could do it (students, trainee), or you could outsource it cheaply. Or all you have is people with experience in this and that technology. Or it must look in a very very specific way (because marketing says so) and you go native. Or it maybe should even differentiate itself and should look NOT like a Fiori app. And no - I don't think - this is my employees view - we are not for example an event app producer. We normally build business applications. And I don't think that we can write an app from scratch "just" for an event in a certain technology. Yes it would be nice if this and that would use SAPUI5, I think if it would be possible in terms of time and costs and UI wishes and hundreds of other factors we would do it with SAPUI5.
    Working at the partner SAP showed me over 50 Fiori apps, now hundreds of Fiori apps are released. SAP now showed that SAPUI5 is going big with S/4HANA. We have seen the Simple Finance solution. I was walking around at the CeBIT this year and I was impressed myself which cool apps and screens have been shown with SAPUI5. I used the SAPUI5 app on a Samsung Smart Watch myself. The SAP Web IDE itself is built with SAPUI5 in its heart. I don't need any other "proves" that SAPUI5 is great. I have seen great use cases for it, but I also know myself when I would use other stuff.
    4. My conclusion
    There is never every anything which can cover all different use cases. One-size-fits-all clothes also does not fit for everyone even if it says so. If someone creates something great don't judge it by the UI technology. Judge it by the experience and the value it creates. There are reasons why this and that was chosen. Use what fits your needs best with your requirements. Make the end user happy!

    Hey Denise,
    Thanks for pulling this discussion into SCN. Makes it much easier to discuss compared to Twitter. But I also have to apologize in the beginning that my answer now exceeds 140 characters by 50 times.
    Let me share my thoughts and personal opinion as well. I will try to look at it from a strategic point of view, as you – as the technical UI5 expert - have already covered the technical perspective.
    SAP recommends using SAPUI5 where it fits to customers’ requirements
    Let me begin with a clear statement from my perspective: It makes no sense that SAP takes customer decisions.
    Of course, customers expect SAP to help them with their strategies and decisions and of course we are helping. But at the end, the decisions have to be taken by the customer who needs to take the specific conditions of the company into account. The most important condition in the context of UX is the end user. But we shouldn't forget the business strategy as the most important influence factor. I’m not saying that technical decisions are completely unimportant, but I would like to point out that other things are more important for a company.
    As a result, it wouldn't make a lot of sense if SAP would just want every customer to use SAPUI5. To me, customers need recommendations leading to solutions that satisfy their needs and requirements.
    There is not that one UI technology that serves all needs
    This headline might be a challenging statement and I can already imagine reactions to it. But in fact I can confirm this sentence easily. You always have to combine different technologies. Some of them are from SAP others not. The selection and combination of these technologies is different from customer to customer because the requirements are different. There are still reasons to use Web Dynpro ABAP and I’m still recommending SAP NetWeaver Business Client, POWL (Power Lists), WDA Chips, FPM based on the given environment of the customer. And obviously there are also reasons for UI5.
    SAP already proves the usage of SAPUI5
    In general, I see two different use cases here: Developing custom applications vs. adopting applications from SAP.
    In the one case, customers want recommendations on development environments and UI technologies that consider their development requirements and existing conditions (e.g. existing skills, given implementations). SAPUI5 is a great UI technology and there are some special aspects that make the decision obviously easy. If I want to create simple business applications that can be connected with my SAP system easily, especially in combination under responsive conditions on multiple devices and targeted for casual and/or occasional users UI5 might be the right choice for many.  Exactly this pattern is what many customers are searching for these days. So, the recommendation for UI5 comes quite often.
    Whether or not SAP proves the usage of SAPUI5 in their own world is to me more connected to the use case where customers want to adopt SAP applications. And in deed, SAP is using SAPUI5. There are hundreds of SAP Fiori applications that have been built with SAPUI5 and there have been a lot of other applications developed using SAPUI5, too. And again, there is a huge need for applications for casual and/or occasional users, so that’s a big reason for SAP to create such applications.
    Websites vs. Business Applications
    This discussion was triggered by some statements in twitter, that SAP sites such as sap.com, SAP UX Explorer or the latest mobile conference app are not developed using UI5. Actually I see these to be websites but not business applications. I have never told a customer to build a website in UI5 and I would continue to do so.
    Maybe we need to discuss the difference between a website and a business application. I guess it is not easy to find a common understanding here, as the borderlines between several worlds have disappeared in the last years.
    Some years ago it was more or less easy to differ between:
    Native desktop applications running on a specific desktop OS
    Native mobile applications running on a specific mobile OS
    Browser-based applications running in specific browsers
    Websites, basically running on many browsers
    In the first three categories we saw business applications. 1 and 2 were selected especially when specific functions of the device and OS where needed to be accessed (for example the camera of the mobile device, the fast rendering capability of the desktop). 3 was also used for business applications but in most cases on desktop browsers.
    Today, one can develop browser-based applications that look like native applications and even can access the devices like native applications. Responsive design breaks the borderlines even more. Now, browser-based content can be rendered perfectly on a desktop browser as well as on a mobile phone and a user might even not be able to judge whether it was originally intended to be developed for the one or the other.
    So maybe there is no big difference anymore between websites and browser-based applications. But there is still a difference between browser-based applications and browser-based business applications, where additional requirements such as integration into business systems are drivers. Here I see SAPUI5 as a very cool UI technology.
    That’s just my 2 (personal) cents,
    JJ

  • Read binary files that are wraped in the downloaded executable signed jar

    Hello, there:
    I have created a Swing application and created a signed jar file and uploaded it to my site. The signed jar includes class packages, and a folder of binary files which are the datasource for my application.
    jws downloads this signed executable jar, it'll automatically run it, but it has problems reading the binary folders wrapped in itself (the app is supposed to read the folder's structure and use the info to create a JTree object, and read the file's content as well). Is it the file path conversion problem? Do we need to use URL instead? I tried it after reading some threads on this forum but didn't make it.
    As an alternatives, I want JWS to unjar the jar file and expand it to exploded files. I manually unjar it and run the app from command line, it works fine.
    Plus, the app is supposed to manipulate the binary files when it's in process, like saving new content back to the files, zip the files and upload them to the remote sql server. therefore, I think it's easy to have it run when it's expanded.
    So here is the question: JWS by default is running the executable jar, is there a way to tell JWS to unzip the jar and find the main class in the exploded files and run it?
    Thanks a lot for your suggestions,
    Sway

    You can get to any resource in a jar file in your classpath. The code below will return InputStream for resource.bin nested two packages down.
    InputStream in = YourClass.class.getResourceAsStream("/com/mypackage/resouce.bin");  //use '/' instead of '.'You can open a FileOutputStream to write that file.
    OutputStream out = new FileOutputStream("myTempResource.bin");
    IOUtil.streamAndClose(in,out);If the resouce is a nested zip or nested jar then you can use the Java Zip utilities to unwrap the stream.

  • Installer and icon for j9 application

    Hello there!
    I've done a j9 (personal profile for windows mobile) application and I wish to change the executable icon on the device. Additionally I'm in need of as installer for this application. Is it possible to build a cab file with both application and j9 to deploy on the taget device?
    many thanks!

    I would like to do exactly what you are describing, however I am not there yet since I just started the development of a Java on Pocket PC project.
    I did see reference to a tool by IBM called JXE which seems to wrap up a java app in a native executable for Pocket PC
    Check out their wirelss forum and you may find more details on this.
    http://www-128.ibm.com/developerworks/forums/dw_forum.jsp?forum=277&cat=9
    Jim

  • How do you up grade 1.3Firmware without having Online Connection?

    I'm currently a Soldier deployed to Iraq, and just recently bought the Nike + iPod Sport kit for my 1st gen 4g Nano. The problem is that I'm running into is that my Nano has 1.1 Firmware, which the Nike+ needs 1.3 in order to operate. Well the only way I know is to go into iTunes7 and check for updates, the problem with that is I dont have access to a computer that is online that I'm allowed to Install iTunes software on to get the firmware update. The only access were granted here is just downloading Files. Can anyone tell me if there is a standalone program that I can Download that will auto-update my iPod nano to 1.3 firmware Offline?

    Hi,
    According to your post, my understanding is that you wanted to take away the permission from user and make the workflow run normally.
    By default, users who have the Edit Items permission can start a workflow. If you specify that Manage List permissions are required to start the workflow, only list administrators (that is, anyone
    with Manage Lists permission or the Design permission-level) can start an instance of the workflow. Most workflows do not require this restriction.
    For more information, you can refer to:
    Permissions needed to start a Workflow on an item
    As a workaround, we can create SharePoint 2013 workflows that access objects in SharePoint that require elevated permissions. These solutions use two features: granting permissions to the workflow app and wrapping actions with the App Step.
    Please refer to:
    Create a workflow with elevated permissions by using the SharePoint 2013 Workflow platform
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Script that runs MSI from discovered location.

    Hello everyone -
    Still a noob here in scripting with powershell...
    We use SCCM 2012, and i'd like a script that can parse through the ccmCache folder, find the desired MSI, and the use this path to work from(parameters, etc).
    Below is what i have attempted, but to no avail.
    When running the below...i get the  T h i s   i n s t a l l a t i o n   p a c k a g e   c a n n o t   b e   o p e n e d  message in the script output...further telling me that the msi cannot be found.
    The purpose of this is to wrap together a "find app version" script before the below script, so where it can back out if the desired version is already installed(we have a lot of image drift in with certain apps at my company).
    I know its something im missing...and ideas?
    TIA
    $PathtoInstall = Get-ChildItem -Path C:\windows\ccmcache\ "jre1.7.0_05-c.msi" -Recurse
    Foreach ($File in $PathtoInstall) {
        If ($File.Exists)  {
            $install = $File.Name
            & cmd /c "c:\windows\system32\msiexec.exe /i" $Install

    Seems that I was able to get around this with my below edits to my script.
    This script will find the relevant cache folder, throw the msi into the variable, then run the cmd line arguements that you wish to run.
    Thanks to all for the assistance!
    randy
    $PathtoInstall=Get-ChildItem-PathC:\windows\ccmcache\"jre1.7.0_05-c.msi"-Recurse
    Foreach
    ($Filein$PathtoInstall.Directory)
    If($File.Exists) 
    cd$PathtoInstall.Directory
    &cmd/c"C:\Windows\system32\msiexec.exe
    /i $PathtoInstall/qb
    /lv C:\temp\JavaTESTINSTALL.log"

  • My iPhone wont boot up stuck at start up screen (Please Help)

    i have a original 2.5G phone with 8gigs... running 2.0
    i was installing Bubble Wrap from the mobile app store and went back to the app store and it was being very glitchy ... nothing was loading and everything had a little delay... so anyway i go to hold the top on/off button for five seconds to get the slide to turn off... so i can reboot it and then the phone crashes and turns off with horizontal lines and starts rebooting... at this point it is stuck at the apple logo and does nothing else...
    i already tried holding down the on/off button and the home button together to reboot and it still stays stuck... it reboots but always stays at the apple screen...
    i am currently at work and dont have access to my Mac so i cant connect it to it to even do a restore... which *****... anything i can do from here?
    thanks.
    UPDATE: I just connected it to the PC here at the office and it acctually was able to read and transfer photos over through the camera wizard so it is reading the info on it but im not sure whats going on... its as if it has booted up but the home screen is not there just the Apple boot up screen.
    **** this ***** not having your phone work and not being able to restore it until you get home.

    i downloaded the new iphone software (the box popped up on my screen when syncing), so i clicked download. after i downloaded it, i turned my phone off and when i hit back on, all im getting is the silver apple. WHAT IS GOING ON??? its like it just keeps trying to start up because the apple will come on for 10 seconds, then cut off for 3 seconds, then repeat. i held down the sleep/wake button for 30 seconds and cut it off completely. but when i cut it on, it does the same thing! was this software a virus or malfunctioning? this is stressing me out!! does anyone know what to do?? PLEASE HELP

  • Opatch apply

    Hi,
    applying patch 2436624 , even if the DB and all are stopped and I have even restarted the server, I have this error message :
    @linux1 3597944]$ opatch apply
    Performing pre-patch installation checks.
    /u01/app/simorgdb/9.2.0/OPatch/opatch.pl version: 1.0.0.0.24
    Copyright (c) 2001,2002 Oracle Corporation. All Rights Reserved.
    Problems when checking for files that are active.
    The following files have active processes when there should be no activity:
    1. /u01/app/simorgdb/9.2.0/bin/wrap
    2. /u01/app/simorgdb/9.2.0/bin/extproc
    3. /u01/app/simorgdb/9.2.0/bin/rman
    4. /u01/app/simorgdb/9.2.0/bin/oracle
    Any idea ? Please HELP.
    Many thanks.

    Hi,
    Try to take the last version of opatch utility (#2617419) on metalink. As far as I know, the latest version is 1.0.0.0.53.
    Nicolas.

  • How Do I Wrap Text Like the iOS Camera App?

    Hello. I am in yearbook, and I have been challenged with designing the cover of the yearbook, and I have been having a few problems along the way. One of these problems is to wrap text. Specifically, I'm stuck on how I would wrap text like the iOS camera app on the bottom of the screen. The words seem like they are wrap around a 3D object to give it that effect, but I can't really tell. If anyone can help me, it would be greatly appreciated.

    JJMack wrote:
    There is a big difference between being a casual user than real work or development. I own a iPod its a great MP3 player and a device I can display my pictures on out of my pocket. I'll even Facetime my kids at time to see my grand kids or help fix something.  My wife has a mini iPad for quick internet access and quire music and uses her iPod to entertain our two year old grandson with games.   She uses a Canon 1D mark 4 and I a Cannon 1D mark II.  The only use the iPad and iPod cameras get is Facetime. No iOS apps are use to work on images  they have no value when you have Photoshop. The iPod is better for displaying image then the iPad mini it has a 3:2 aspect ratio display and travels better the the mini iPad which has a 4:3 aspect ratio display.  I also crop image for display on wall mounted HDTV. The iPad is better for casual internet access then the iPod. All our kids have iPhones and they all use computers either Mac or PC for work and internet access.  When you have a Unix or Windows why would you want to touch an iOS device for work or serious internet access.  Apple mobile devices are convenient for casual use and grand kids don't get that dirty finger painting on them as they do using real paint. Nothing of real value is maintained on an iOS device.
    Well...there's Photoshop Touch and Photoshop Mix as well as Lightroom Mobile. It could be argued that they're don't exactly mirror their desktop cousins, yes, but they weren't meant to be. They were meant as extensions to the desktop experience.  (e.g., Lightroom Mobile lets one work with the RAW images they have in their Lightroom desktop collections.)
    The more powerful Windows tablets can run Photoshop desktop (like Photoshop CC) too.
    @bluebocat: Are you looking for text with a perspective? Like it has a vanishing point? As if it was turned in a certain direction in 3D space?

  • How does the app know image folder (non class files) wrapped in jar file?

    Hi,
    I created an jar file, client.jar, which wrap all necessary files, including packaged class files ( in a hierarachy structure), image folder, properties folder, and ext folder (containing other jar files used). When I run the jar file, like
    java -classpath c:\tmp\client.jar -jar client.jar
    the app does not know where the images go and could not get the properties files. Actually the image and properties files are contained in the same file: client.jar. How can I fix this. I don't want to extract the jar file back to several separated folders and then run it.
    Appreciate the help.

    Unfortunately you have to make some changes in your code.. to find the pictures you need to replace:
    ImageIcon pic = new ImageIcon("pic.gif");
    with
    URL url = MyClass.class.getResource("pic.gif");
    ImageIcon pic = new ImageIcon(url);
    where MyClass is the class which needs to load the resource.
    I hope this helped you! /Pingu

  • I need yo know more information about IOS App wrapping?

    I need yo know more information about IOS App wrapping?

    I need more information about this area as I'm new in it, and suppose to handle the technical support for it in the place that I work in

Maybe you are looking for

  • SMS alert - I dont want the name of the sender appearing on the screen

    Prior to downloading the recent upgrade, my SMS alert would simply notify me that I had a new text message but would not identify the sender. Now, the sender's names appears on the screen. How can I change my setting so that the sender's name is not

  • Noise reduction doesn't work?

    Hi All, New user here (testing the demo). I have a moderately loud air conditioner system, and as a result there is a constant hum. I'm trying to get the noise reduction to work, but to no avail. Here's what I do. I record a clip. then select Edit Ti

  • Export error in Oracle Applications 11.03

    I am having trouble exporting fields out of Oracle Applications. I get an error saying failed command. Any ideas on how to fix? This wouldn't be related to IE version or service pack or OS would it??? Some workstations can while others cannot.

  • Standard temperatures of iMac A1418

    Hello! Can you show me standard temperatures of iMac A1418? Thanks!

  • Need help to solve if condition

    Hi All, I need to resize the images to thumbnail veiw the condition is width should not exceed 75 pixels and height should not exceed 50 pixels app.preferences.rulerUnits = Units.PIXELS           var Wid = docRef.width;      var Hig = docRef.height;