GUI application in Java?

Hi,
I'm considering to develop a rather large desktop application in Java (or other development language) and was wondering if someone can persuade me to do it in Java or not.
In the end, the application will have to be able to open and view large tiff images. A number image operations (cropping, extracting parts of the image, ...) will have to be done on these images. Furthermore I will need some sort of mechanism to add transparent blocks over the tiff images (to mark parts of the image).
My biggest concern with image handling in Java is the performance. Will the application not become too slow in the end, processing a lot of tiff images.
Kind regards,
Davor

Hi,
I'm considering to develop a rather large desktop
application in Java (or other development language)
and was wondering if someone can persuade me to do it
in Java or not.
In the end, the application will have to be able to
open and view large tiff images. A number image
operations (cropping, extracting parts of the image,
...) will have to be done on these images.
Furthermore I will need some sort of mechanism to add
transparent blocks over the tiff images (to mark
parts of the image).
My biggest concern with image handling in Java is the
performance. Will the application not become too slow
in the end, processing a lot of tiff images.
Kind regards,
Davorhi,
from ur requirement specs, Java seems the obvious choice of programming language. the java.awt.image.* package suits u just right. programming effort is minimum.
regarding the performance, there's always been the age-old trade-off as far as java is concerned. but with desktops and servers becoming increasingly powerful each day, this concern is bound to diminish.
further, ur application seems to b a heavyweight appli in itself. so, the systems which run it r bound to b (sufficiently) powerful anyways.
so, my opinion...GO FOR JAVA.
hope this helped u... good luck
======
Kiran

Similar Messages

  • Can I Open an HTMLHelp (*.CHM) File from Java GUI Application?

    I ussually use Delphi to develop my applications and I can open an HTMLHelp (*.CHM) file from my application. Can you show me the ways to do it from my Java GUI applications?
    Thanks for everyone.
    Budi Raharjo
    http://budiraharjo.blogspot.com

    http://www.google.com/search?q=java+chm
    Seems like there is some 3rd party software available for that.

  • Is there a forum for Java GUI Application Design?

    Hi all,
    I've used this forum a lot and found a lot of help on it for Swing usage specifics. However, whenever I ask a question about broader design or architecture of a full Swing app I get little or no response. Sadly I'm no stranger to "view 50, replies 0" :o(
    Either I'm asking stupid questions or I'm asking the in the wrong forum - does anyone know of a good place to ask about design/best practices for Java, GUI applications? I've seen some of the "programmer"/"developer" groups on Google Groups.
    Many thanks.
    Yours, hoping for at least one reply,
    Chris

    You're right, I typed that wrong. The method signature should be addDataChangeListener(DataChangeListener lis, DataChangeType type)
    When a component registers itself as a change listener, say it wants to know whenever an object of type Foo is changed, it calls DataChangeType.addDataChangeListener(this, DataChangeType.FOO). (the Enum elements coorespond to the objects we want to listen for) Then it implements the dataChanged(DataChangeType type, Object obj) method that will be called by the controller when objects of type Foo are changed. (obviously this is an interface) Whenever a component updates an object of type Foo, it calls DataChangeControl.dataChanged(DataChangeType.FOO, theFooObject), and then the controller will notify all listeners who are interested in Foo objects changing.
    The DataChangeControl maintains a hashmap of <DataChangeType, List < DataChangeListener> >. So when a new listener is added, it checks the type to see if a list is already keyed to that object type in the hashmap. If so it adds the listener to that list, if not it creates a new list in the hashmap with the type as the key. That way when an object is changed, it notifies only those listeners who are registered to listen to that type of object being changed. Hopefully that makes sense.

  • Using JavaFX to rewrite GUI layer for Java Desktop Swing application

    From the faq's on javafx.com I read the following:
    I currently build applications in Java. Can I reuse my Java libraries in JavaFX Script?
    Yes. You can leverage the power of Java by using any Java library within a JavaFX application.
    This way you can preserve your investment in Java and use JavaFX to build engaging visual experiences.
    Can I use JavaFX to develop a user interface for my Java program?
    While it's easy to write your application in JavaFX and call into Java where necessary,
    the inverse - writing a Java application that calls into JavaFX for the user interface - is not yet true.
    We expect this to be addressed in the near future.
    * Perhaps I'm missing something, but I do not see the difference between the two questions, but they give completely different answers?
    * We have a swing application that we might want to use JavaFX to replace the current Swing user interface, however, we also have alot of business logic / communications code written in
    * Java that we aren't going to rewrite.
    Could someone tell me why the two questions have different answers?
    Thanks. Cheers.

    Hi Josh,
    I'm facing serious issue trying to invoke a javafx class from my java code. Could you please suggest a way to do it. Even hacks would be ood enough for now.
    I have created file Clock.fx. When run individually from my IDE (i'm using NetBeans) it works fine. But when i try to invoke it from a java class in project in throws exception.
    public static void main(String[] args) {
    ScriptEngineManager manager = new ScriptEngineManager();
    JavaFXScriptEngine fxEngine = (JavaFXScriptEngine) manager.getEngineByName("javafx");
    System.out.print("created fxEngine");
    try {
    Object o = fxEngine.eval ("Clock { property: \"Clock\" }");
    fxEngine.invokeMethod (o, "create");
    } catch (Exception ex) {
    ex.printStackTrace();
    I get following exception
    Exception thrown in JavaFX pretty printing: java.io.FileNotFoundException: \tmp\___FX_SCRIPT___.fxdump from StringInputBuffer (The system cannot find the path specified)
    Exception thrown in JavaFX pretty printing: java.io.FileNotFoundException: \tmp\___FX_SCRIPT___.fxdump from StringInputBuffer (The system cannot find the path specified)
    javax.script.ScriptException: compilation failed
    at com.sun.tools.javafx.script.JavaFXScriptEngineImpl.parse(JavaFXScriptEngineImpl.java:255)
    at com.sun.tools.javafx.script.JavaFXScriptEngineImpl.eval(JavaFXScriptEngineImpl.java:145)
    at com.sun.tools.javafx.script.JavaFXScriptEngineImpl.eval(JavaFXScriptEngineImpl.java:136)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
    at newpackage.Main.main(Main.java:29)
    Could you please give a solution to it. I would be obliged.

  • Running a GUI application without holding command prompt

    Hi there ,
    I have developed a GUI application using Swing. After compiling the same successfully , when I run the same , presently , I am running it like ,
    c:\> java xxx
    where c:\ is the general command prompt on a Windows machine where I can type in my commands like javac or java and xxx is the class file name . Now till I complete using my GUI application and exit from the same , the command prompt will also be there ( and probably displaying the output of my System.out.println ) . So , two sessions are running , one is just the command prompt and another is the actual GUI application.
    How can I avoide this ? e.g. when I type command "notepad" and press enter , notepad is started and the command prompt returns after starting notepad i.e. the notepad and the command prompt are not related now , I can close the command intrepreter and still notepad is running . What should I do to create such a Java GUI application ? Please advice .

    If I understand you correctly this is something that happens in linux also. And I believe that you can solve this by creating to shortcut to this program.
    And the shortcut or link to application will be the command line that you use to run the Java Application.
    i.e.
    java c:\javadir\subjavadir\application.class
    And I believe that this will allow it to run without the command prompt. Just showing the GUI and no additional command prompt window. Freeing the command prompt is something that I don't know how to do in either OS.
    I use the Link To Application method because I ultimately don't need to have multiple windows for one application. Even though it is nice to be able to kill the Application by destroying the command-prompt session (in case your app causes lock-ups during testing).
    Post your results . . . I'm not even sure that I'm being clear at all with my explanation to your question.

  • Address book application in java using jdbc to connect to mySQL server

    hi there .....
    as clear from the topic i want to make an address book.....as above
    this is my first ever proper application of java
    i have this plan
    class GUI{* contains all components */}
    class links_GUI_to_db{* contains business logic simple enough from name */}
    then i make objects of both classes in "Main" class and all processes are done there
    as i am totally new to this thing , i would like some advice and an initial guideline on how to proceed
    i am NOT ASKING for code but advice on interaction of classes and how to proceed intitially
    thanks

    Hi,
    The answer depends pretty much on how ambitious you are, and several articels and books can be written on the topic, so it's unfortunately not something that can be fully answered in a short post.
    My best advice is that you google on MVC and on how to create layered applications. You can after that start reading e.g. JDBC tutorials and Swing tutorials (if that is the UI that you are going to use).
    Kaj
    Ps. I would probably not use MySQL as database for an address book. I would instead use a database that doesn't require installation. E.g. H2 or Derby.

  • Web dynpro and classic gui application

    Hi,
    is it possible to integrate a web dynpro for java in a classic gui application (like it's possible to do this for web dynpro for abap)? If it's possible where can I find more information about this topic?
    Is it possible to integrate a java applet in web dynpro for abap?
    Thanks and kind regards,
    Dagmar

    Dagmar,
    there is a webdynpro client for windows available (as of patch level 14 of SAP GUI for Windows 6.40 it is delivered as part of the SAP GUI installation). But it is beta software and contains some defects (take a look at SAP note 887817).
    Check this link:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f941800e-0701-0010-29ba-b29c5caa8eeb">Web Dynpro Client</a>
    Best regards
    Sebastian

  • How to make GUI application run fast and use less memory?

    Hi, there,
    My GUI application have:
    Menu, toolbar, filechooser, JTable, and log panel.(There is not much file io operation)
    When I run it in my machine, it is so slow, and if I run several times, close it after each run, it will run out of my memory. I am using PII266MMX, 256RAM. (When I run another software, such as flashfxp, GUI of which is more complicated than mine, however it is far faster than mine, but I don't think it is written in JAVA), Is JAVA's GUI desktop application not fast?
    Regardless hardware factors, what should I pay attention to writing an efficient GUI application?
    Can anybody give some advice?
    Thanks a lot, thanks .....

    Thank you, Denis.
    I can run several times of this applicaiton in another machine: PIII866, 256M RAM (windows 2000). I didn't encounter the memory problem, I can open serveral windows of it with that machine.
    Why I met this problem in this old machine, I alway get memory not enough problem.(this old machine comes with Win98). Both of machines have same memory(256M).
    Could you please give me some hint?
    Thanks,
    Sitai

  • Gui application slow with JWS but fast without

    I've created and generated a GUI application into a jar file. Starting the application via
    the java web start gives me a very poor performance. However starting the GUI
    application by double clicking on the downloaded jar file works very smoothly and fast.
    I don't want to lose the JWS options of automatic downloads of updated applications etc.,
    any ideas of how to solve this problem?
    Thanks in advance.

    I saw that suggestion when I did a search on problems like this.
    It used to go fast, but for some unknown reason, it slowed down w/ CPU maxed at 100% a few weeks ago. The user swears nothing changed.
    As for 1.4.1RC1, all I can tell you is I installed the english JRE, then tried the international JRE, then the international SDK for 1.4.1RC1 for Windows. I even uninstalled JRE 1.3.1_04 before that and also uninstalled before each install. In none of the installs did Java Web Start get installed on the desktop. I did a File Find using Windows for "javaws.exe" and it was not on any local drive. It's almost as if the JWS installer was not run automatically during the install process because I didn't see it pop up.
    There are no disk space issues. This user is running Win2K and had 18GB (yes, gigabytes) free on his laptop.

  • 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

  • What best way to create a simple DB based GUI application

    Hi
    I want to develop a small home-use DB GUI application. My questions relate to the GUI:
    1. If I want a main window to be a form containing mainly several text fileds (with labels attached) and a search button - what best layout manager would you reccomend?
    2. For good-practice programming I want to seperate my backend layer from the UI layer. Is there a good design pattern on how to do so?
    Thanks

    what best layout manager would you reccomend?Use a combination of Layout Managers to get the job done. See some example from the Swing tutorial on "Using Layout Managers":
    http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html

  • Need advice in writing forum component for a GUI application

    Hello,
    I need to write a forum component for a GUI application, that is a visual component that would have all the usual forum functionality - creating threads, posting replies, editing, logging in, etc. I'm planning to use some existing forum engine on a JBoss/Tomcat server. So I do not need a web-interface for a forum, but I need find some engine written in java with a clear interface that I could use in my app. I tried JForum (http://www.jforum.net) first, but it seems it doesn't have open API I could utilize.
    Could anyone please suggest appropriate engine, possibly anyone knows of open-source forum GUI apps I can look at?

    Google? You've never heard of Google? Seriously? Did you just get Internet access yesterday?
    http://www.google.com

  • Automatic Documentation for GUI-Application

    I have to evaluate the use of Eclipse for our company.
    One topic is, whether there is a tool which helps to generate a first User-Documentation for Java-GUI-Applications. Does anybody whether there
    exists such a tool for Eclipse or maybe a plugin.
    Many thanks in advance
    Helmut

    Have a look at the weblog
    /people/vijaya.kumar/blog/2005/06/10/people-centric-user-interface-pcui--getting-started
    Hope this is what you are looking for.
    regards
    johnson zavier

  • Distribute GUI Application

    Hi
    I have made a GUI application on an IDE (DR JAVA).
    I need to send it to a friend. How do i send it to him?
    What do i have to do with the .class file?
    Thank You.

    your jar needs a META-INF/manifest.mf file with the following line:
    Main-Class: your.package.class
    where your.package.class is replaced by the class that has the main(). Similarly, this file can contain a line:
    Class-Path: jar1.jar jar2.jar etc.
    to define the classpath of your jarred application (the -cp parameter does nothing when you execute a jar).
    For easy jar building and automatic manifest generation, I suggest looking into ANT. Once you get to grips with it, it can save you a lot of time.

  • Daemon/GUI application.

    Hey guys,
    I'm working on an application which use a daemon to schedule few operations.
    My daemon work well as a launchdDaemon. My daemon executable is a Foundation Tool and it use Objective-C.
    My problem is at launch, the daemon read a plist (this of the GUI application), but it's seems that the daemon cant read the user plist at boot. The log in /Library/Logs:
    2008-11-18 16:25:19.006 dxsd[53:20b] NSScanner: nil string argument
    2008-11-18 16:25:19.287 dxsd[53:20b] NSScanner: nil string argument
    2008-11-18 16:25:19.288 dxsd[53:20b] Reindex Future = 0
    2008-11-18 16:25:19.289 dxsd[53:20b] Reindex Actual = 1227021919
    2008-11-18 16:25:19.289 dxsd[53:20b] Backup Future = 0
    2008-11-18 16:25:19.290 dxsd[53:20b] Backup Actual = 1227021919
    When I launch the daemon executable manually, I don't have the problem. In the Xcode console:
    2008-11-24 11:53:21.598 dxsd[24658:10b] Reindex Future = 1227537120
    2008-11-24 11:53:21.599 dxsd[24658:10b] Reindex Actual = 1227524001
    2008-11-24 11:53:21.600 dxsd[24658:10b] Backup Future = 1227537120
    2008-11-24 11:53:21.600 dxsd[24658:10b] Backup Actual = 1227524001
    Thread1: Waiting reindex to 13119.
    Thread2: Waiting backup to 13119.
    So, can't the daemon read the user preference files?

    There are wrappers that can be used to run java programs as deamon / services like:
    http://wrapper.tanukisoftware.org/doc/english/introduction.html
    There are others wrappers to use any native app as a service, but
    javaws.exe can't be instructed to ignore the session close signal.
    So, it's close at logout and ends your started java program.
    Will be very usefull if javaws.exe can be instructed in any way to ignore that signals.

Maybe you are looking for

  • Aging

    I am developing a vendor aging report from 0FIAP_O03 . I want to know what are the BW objects that I should look for : 1. Actual payment date 2. Payment amount

  • Sample procurement

    Hi   According to the business scenario,need to procure sample material in free of cost and also need to maintain the material as non-valuated in the inventory.In this scenario the business is using Standard price for all materials (not MAP).Kindly h

  • XI Technology available for SAP IS-U

    Hi Everyone Does anyone of you know, at what version of IS-U was the first one to cater for the use of XI Technology in communication, and if so, when was this released. Do anyone of you know, if hot-package or packages have contained XI Technology f

  • Problem in process

    Hi We modelled a process with 5 Human tasks. From the 4th task tehre is an option to return to first task. This is done using an exclusive choice gateway. But strangely when we try this option a new instance of the process gets created(the main proce

  • How to install the new iphoto update on i pad

    apple has a new update for ipad it is iphoto  but do you connect your ipad to your computer to down load it ?