Javafx 1.2 ready for large application?

I try to use javafx to build a dashboard which may contain 5000 cells, I used Text, ImageView, Stack, HBox, VBox to build this component, which just like Table in HTML.
I didnt notice that would be a problem in the begining, when more and more cells to be renderd, the program become slower, when cells up to about 500, I got out of memory error.
So I try to make simple nodes using Text, HBox, then put 5000 cells into VBox, and configure jvm parameter to use 512M memory, then run this simple test. It takes about 1 and a half minutes to startup.
I dont think javafx is acceptable for my dashboard, then I try to build simple program with java swing, using JLabel, JPanel, BoxLayout, JScrollPane, and the same has 5000 rows. This program takes about 3 seconds to startup and dont need to configure jvm parameter!
And, I notice that javafx1.2 do not have scrollpane component, how to build this component with javafx? will javafx provide this component in the next version?

Use [http://code.google.com/p/crudfx/|http://code.google.com/p/crudfx/]
It includes:
1. Layouts
2. Grid/Table
3. Tree
4. Text/Password components
5. Localization tools
6. User preferences util
7. Tools for asynchronous task
8. Bridge to Web Services (XML, JSON)
9. Bridge to SQL Servers (JDBC)
10. Google Map component
11. Sound synthesizer
12. Other tools

Similar Messages

  • How to use Source Code Control for Large Application?

    Hi, All!
    I would like to collect knowledge about "best practice" examples for using Source Code Control and project organization for relative large application (let's say approx 1000 SubVIs).
    Tools used:
    LabVIEW 8.0
    CVS Server
    PushOK CVS Proxy Client
    WinCVS
    With LabVIEW 8 we can organize large project pretty well. This described in article Managing Large Applications with the LabVIEW Project.
    I have read this article too: Using Source Control Software with LabVIEW In this Article Source Safe used, but with PushOK all looks nearby the same and works (some tricks for compare function are required).
    Example. Two developers working together on same project. Internally project is modular, so one developer will work with module "Analysis", and another one with "Configuration" without interferences. These modules placed into Subfolders as shown in example above.
    Scenario 1:
    Developer A started with modification of module "Analysis". Some files checked out. He would like to add some SubVIs here. So, he must also perform check out for the project file (*.lvproj), otherwise he cannot add anything into project structure.
    Developer B at the same time would like to add some new functions into module "Configuration". He also needed to check out project file, but this file already checked out by Developer A (and locked). So, he must wait until lvproj file will be checked in. Another way is mark *.lvproj files as text files in PushOK, but then one of developers will get conflict message by checking in and then merging will be necessary. This situation will coming very often, because in most cases *.lvproj file will be checked out all the time.
    Question: Which practice is better for such situation? Is Libraries better than folder for large project?
    Scenario 2:
    Developer C joined to the team. First, he must get complete project code for starting (or may be at least code of one Library, which assigned to him).
    Question: How it can be done within LabVIEW IDE? Or WinCVS (or other SCC UI) should be used for initial checkout?
    Scenario 3:
    Developer D is responcible for Build. Developers A,B,C have added lot of files into modules "Analysis", Configuration" and "FileIO". For building he need to get complete code. If our project splitted into folders, he should get latest *.lvproj first, then newly added SubVIs will appear in Project Explorer, then he should expand tree, select all SubVIs and get latest versions for all. If Project organized in Libraries, he must do the same for each library, isn't?.
    Question: Is this "normal way", or WinCVS should be used for this way? In WinCVS its possible with two mouseclicks, but I prefer to get all code from CVS within LabVIEW IDE recursively...
    That was a long post... So, if you already working with LabVIEW 8 with SCC used for large project, please post your knowledge here about project structure (Folders or Libraries) and best practices, its may be helpful and useful for all of us. Any examples/use cases/links etc are appreciated.
    Thank you,
    Andrey

    Regarding your scenarios:
    1. Using your example, let's say both developers checked out version 3
    of the project file. Assuming that there are only files under the
    directories in the example project, when Developer A checks in his
    version of the project, there will be new files in one section of the
    project separate from where Developer B is working. Developer B,
    notices that there is now a version 4 of the project. He needs to
    resolve the changes so will need to merge his changes to the latest
    version of project file. Since the project file is a text file, that is
    easy to do. Where an issue arrises is that after Developer B checks in
    his merged changes, there is a revision 5. When Developer A and B go to
    make another change, they get the latest version which will have the
    merged changes to the project file but not the referenced files from
    both Developer A and B. So when A opens version 5, he sees that he is
    missing the files that B checked in and visa versa. Here is where the
    developers will needs to manually use the source control client and,
    external to LabVIEW, get those new files.
    Where libraries help with the above scenario is that the library is a
    separate file from the project so changes made to it outside of the
    project do not require the project to be modified. So this time, the
    developers are using a single project again which time time references
    two libraries. The developers check out the libraries, make changes to
    the libraries, and then check those changes in. So when each developer
    opens the project file, since it references the project file, the
    changes to the library will be reflected. There is still the issue of
    the new files not automatically coming down when the latest version of
    the library is obtained. Again, the developers will needs to manually
    use the source control client and, external to LabVIEW, get those new
    files. In general, you should take advantage of the the modularity that
    libraries provide.
    2. As noted in the above scenario, there is no intrinsic mechanism to
    get all files referenced by a LabVIEW project. Files that are missing
    will be noted. The developer will then have to use the source control
    provider's IDE to get the initial contents of the project  (or library).
    3. See above scenarios.
    George M
    National Instruments

  • 6.0.1 ready for large scale deployment?

    I have a 210 we are in the process of migrating to, at the end of the migration we will have 700 or so 2800 IOS firewalls. We are half way through the process and already MARS is having CPU issues, although I think this may be bug related. Is 6.0.1 ready for a large scale deployment and heavy load? Im hoping this may bring the cpu down a little but I do not want to introduce other issues.
    Thanks

    I ended up doing a clean install of a MARS50, originally 4.3.6, and still have problems with graphgen shutting down.
    I have no support on my MARS 50 so I'm stuck waiting for a possible future upgrade beyond 6.0.1. It's odd that the same ISO install gives different results on the same hardware. MARS in not exactly an "appliance" like a PIX but still...ISO based installations should produce identical installations
    /Fredrik

  • Organize JDev for large applications

    Hello JDev team,
    In order to properly manage very large applications and different versions of the same application (like maintenance and development) in the same environment, there are various settings that would find their more appropriate place at the level of the workspace.
    I already saw some other threads discussing similar topics, I would only like to put them together and try to get some schedules :-)
    1. One problem is that there are no nested workspaces, and you don't have good "visibility" outside your own workspace (one example, you cannot create a BC Client Data Model unless the BC project is in the same workspace).
    Nested workspaces would be great for properly organizing a large application. If you implement this, please don't forget the visibility "details".
    2. A quite different problem is related to the definition of libraries. Once you have to manage in parallel, in the same environment, different versions of the same application, things become hard to manage.
    Most of the projects should have their associated library defined, as there are relations between projects. But a library entry is absolute, so it stands for one version. When you have to switch to another version (which is also under SCM), there are different physical paths on the disk, so different values for the libraries. And you have to change (one by one or directly in libraries.xml) their definitions.
    This would be solved naturally if the libraries were defined for a workspace. And would also provide the possibility to have relative paths rather than absolute ones, which is easier to manage.
    3. Base classes. It is nice to have this in the global Preferences, but, as somebody else noticed before me, it might be necessary sometimes to have different base classes for different applications, all in the same development environment. This comes similar to having base classes defined (also) at the level of the workspace.
    4. Debugger/Breakpoints/Default Action. This is another kind of preference I would like to have at the level of the workspace, or even for each project. Especially because of the "Group of Breakpoints" section.
    5. Deployment. Here, a new option "Relative to Workspace Directory" would do. Or, allow the definition of the default deployment directory for each workspace.
    6. Web Browser/Proxy. Well, here my problem might be more specific. We access internet resources via a proxy, so when it comes to accessing Oracle resources (like Check for Updates...) from JDeveloper, the proxy setting is useful, even required.
    But, in our intranet development, we do not use a proxy (not the same, anyway). So, for normal development purposes, there should be no proxy.
    In this case, what I would like would be to have the global setting in the IDE preferences used for global resources, while the setting in the workspace (if any) will be used for the application-specific resources (e.g. servlet URL).
    I am quite sure I did not cover all the possible enhancement topics, but I hope things will be checked carefully.
    Apart from adding valuable features for developers, the approach of moving certain preferences from the IDE to a "work component" (workspace, project) would also help team-work.
    Once one team member will set some preference(s) for a workspace (and put it under SCM), this setting(s) will be automatically available to all other team members.
    Could you please comment my issues and tell me which of them (with the solutions that you foresee) could integrate 9.0.4?
    Thank you,
    Adrian

    Hi Adrian,
    Thanks for the detailed feedback.
    I agree with you that there are significant issues when using project files at the moment in a team environment, particularly when an SCM system is involved. And since a recent survey indicated that the majority of JDeveloper users use some kind of SCM system, it's particularly important that we address this in future releases.
    At the moment, I'm putting together some suggestions for future changes in this area from the point of view of the feature team who develop SCM support in JDeveloper. Your ideas are useful input into this process. Sadly, it's unlikely that any major changes to the way project files are stored will make it into 9.0.4, since 9.0.4 has already gone into "bugfix only" mode, and the focus of the 9.0.4 release has been on performance improvements and stability. However, we are looking at this issue for a future release (possibly 9.0.5, although these discussions are at a very early stage).
    I've included comments on some of your specific points below.
    1. Nested workspaces
    There was some discussion about whether we should use nested projects a long time ago (i.e. get rid of the concept of a workspace altogether, and just allow projects to contain, and presumably inherit properties from, other projects). This is currently being tracked as ER 2048949. It requires a substantial change to the architecture of JDeveloper and could have a massive effect on components across the IDE. I believe that a lot of the issues with project files can be solved in other ways without going to the extreme of using nested projects / workspaces.
    2. Library Definitions
    Project-scope libraries should hopefully make this a whole lot easier in 9.0.3. I also like the idea of defining libraries at the workspace level so that they can be shared between projects; alternatively, using a "library definition" file as a separate, version-controllable resource that can be referred to by a project. I've filed ER 2689043 to track this.
    3. Base Classes
    This is a BC4J thing, and a bit outside my area of knowledge :) I'll pass your suggestions along.
    4. Debugger Preferences
    I'm not sure what you mean by "group of breakpoints section"
    5. Deployment
    Filed ER 2689052
    6. Web Browser/Proxy
    You might be able to make use of the "Exceptions" field in the proxy settings to help with this. Within Oracle, we have exactly the same issue, but normally use an exception list that looks something like this: "localhost|127.0.0.1|*.oracle.com|*.oraclecorp.com|*.oracleads.com"
    One of the areas I'm interested in seeing improved is the concept of "configurations" that we currently have in project files. For example, it would be nice to define a workspace-scope configuration that's inherited by projects. Also nice would be the ability to allow read-only configurations (that are source controlled as part of the checked in project definition) and user/view-specific configurations (which would not be version controlled). The user/view specific configurations could inherit preferences from the read-only configurations, and the user could override things in a way that wouldn't affect other users (e.g. in the "Paths" preferences, change the output directory to one on their own local machine) without having to check out the project file from source control.
    Thanks,
    Brian
    JDev Team

  • Newest MBA or MBP for large applications at the same time?

    Love the newest MBA and really want it - the reviews are so fantastic - but I am simply afraid of making the same mistake I've made in the past and ordering the less powerful machine. I currently have a Dell and an HP, and neither will allow me to use photoshop CS5 BY ITSELF with any efficiency, let alone while open with other applications such as internet explorer. The quality of webcam conversations with Skype is also very poor, despite a very fast internet connection. I am fed up and converting to Mac, just not sure which one to get - but I need it to be the best for PS and Skype. Advice from those who have used the newest MBA? Thanks!

    Ferrell, I have done what you suggested. I clicked onto the Spaces icon in the upper control panel and assigned spaces to six apps: Mail, Safari, iPhoto, iMovie, Pages, and iWeb.
    The problem is that if I am one app and I want to put something into that app, then the minute my mouse cursor goes to get that other thing, the original application into which I want the thing put GETS WHOOSHED OFF THE DESKTOP. What I want is for the original app to remain open whilst I go to retrieve a file or folder, and stay open while I put that thing into the original app.
    How does one turn off Spaces? I don't mean to delete all the names from the settings.I mean, just turn it off for a while so I can do something which requires for two apps to be open at the same time????
    ~ Lorna in Southern California

  • Error installing JavaFX 1.2 Plugin for Eclipse

    Hi
    I'm trying to install the JavaFX Plugin for Eclipse 3.5.1. I followed the instructions on the site, but when eclipse is downloading the needed files(from http://javafx.com/downloads/eclipse-plugin/ ) I get the following error:
    An error occurred while collecting items to be installed
    session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,com.sun.javafx.eclipse.core,1.2.0.200905280115
    No repository found containing: osgi.bundle,com.sun.javafx.eclipse.editor,1.2.0.200905280115
    No repository found containing: osgi.bundle,com.sun.javafx.eclipse.editor.lib,1.2.0.200905280115
    No repository found containing: org.eclipse.update.feature,com.sun.javafx.eclipse.feature,1.2.0.200905280115
    No repository found containing: osgi.bundle,com.sun.javafx.eclipse.templates,1.2.0.200905280115
    Any ideea on what's wrong ? Please help.
    Thanks in advance

    Tnx for replies.
    After half a day of research I have come to a (hasty) conclusion that for my type of application JavaFX is NOT READY for adoption.
    I was surprised to find that official Java and JavaFX integration only consists of embedding Swing components in JavaFX. Ill be using multithreading, asynch socket IO, tray icon/menu and a few others things that dont seem easy if at all possible to do in JavaFX. For long periods the application will be running without any visible gui while still doing lots of networking. So obviously Java is going to be controlling the the App and JavaFX will only be in charge of the View. I found some hacks to run JavaFX from Java but I don't want to do hacks and possibly break the license.
    Im a bit confused where Sun is going with JavaFX, they add support for WS and ATOM - does that mean they will eventually copy all features from Java to JavaFX changing it from a domain specific language to general purpose one? If they dont provide an easy way for the app to do the grunt work in java and only use JavaFX for gui then that must be their aim? But how many developers are gonna wait for years untill JavaFX can do everything that Java can do?

  • Flow chart for FPGA application

    This is a general question but important: how should I setup the strategy to develop a LabView FPGA/RT/Windows application? In text-based programming languages flowcharts become useful to sort out where to start and where to end, but when I am developing Labview VIs in three spaces, FPGA VI, RT host VI, and Windows host VI which one would be the head and tail? Should one VI be completed then  the next one started or develop small portions of every VI at a time? I am using the later method which is not always efficient especially for large applications.
    I am wondering if any one has come across with those questions and can share his/er experiences.
    Thanks.

    I think the perfect place for you to start is the NI CompactRIO Developers Guide.  This can also be helpful if its a non-CompactRIO application but uses Windows, RT and FPGA.  
    Personally I like the idea of writing your FPGA VI first, and get it acquiring the data you need.  Then you can write the RT VI that accesses the data from the FPGA VI and does the processing.  Once you have this processing done, you can finish off in the Windows VI for User interface.  Of course as you go along you will have to go backwards to add modifications to the lower code to make communication possible, but it usually works out pretty good for me..
    David_L | Certified LabVIEW Architect
    LabVIEW Tools Network | LabVIEW Tools Network Developer Center

  • Download FREE NI TestStand Toolkit for Large Applicatio​n Developmen​t at NI Labs!

    In hopes of giving you a sneak peek of what we're
    thinking about adding to NI TestStand in the future, we have added the NI TestStand Toolkit for Large Application Development to NI Labs! The toolkit currently includes two features with more planned for the future:
    NI TestStand Type Differ - compares and merges differences between types and helps you
    manage type conflicts easily
    NI TestStand Batch Type Differ - automates the process of using the NI TestStand Type Differ on multiple master and updated files
    Again, we are considering adding these features
    to NI TestStand and want to get your feedback. Download the toolkit at NI Labs and tell us what you think!
    Regards,
    James M.

    Hi It looks interesting. But what about putting a little effort in the "View > Sequence File > Display File Hierarchy" that I think is a cool small tool. But When you print the hierarchy, the legend i missing. Alternative is to include the names of the sequence files in the hierarcy view. /Christian  

  • JavaFX for productive applications

    Hi,
    I am currently planning a new desktop application. Since the development of swing in Java is a bit complex part, I wanted to try another approach. JavaFX and the Groovy SwingBuilder look interesting.
    Thus my question is: Is JavaFX ready for productive use? What are Sun's plans for JavaFX in the future? Nobody wants to use technology, that is dead within the next few months.
    The other way is the swingbuilder in groovy. Looks nice, but I am not sure, if it is the right way to build a gui. The backend is supposed to be written in Java.
    Greetings
    Mike

    You can find an example of the Table component creation and usage on page:
    [http://jfx.wikia.com/wiki/SwingComponents|http://jfx.wikia.com/wiki/SwingComponents]

  • Warning:The EXPORT data cluster is too large for the application buffer.

    Hi Friends,
    I am getting following warning messages whenever I click on costing in "Accounting" tab.
    1. Costing data may not be up to date  Display Help
    2.  No costing variant exists in controlling scenario CPR0001
    3.  An error occurred in Accounting (system ID3DEV310)
    4. The EXPORT data cluster is too large for the application buffer.
      I can create project automatically from cprojects. PLan costs, budget and actuals maintain in WBS elements can be visible in cproject Object Links.
    Your reply is highly appreciated.
    Regards,
    Aryan

    Hi;
    Please, check the Note --> 1166365
    We are facing the same problem in R3, but apply this no fix it.
    Best regards.
    Mariano

  • What design aids for large-scale application (using LV6i) exist?

    I have a large-scale application that includes analog and digital I/O, motion control, multiple temperature readings, Ethernet communication, RS-232, DDE and ActiveX controls for communicating with other commercial software. We have to improve the system performance and ease the pain of maintaining and upgrading. What aids are there for large-scale application design and development?

    This doesn't exactly count as development "tools" but I can send you copies of three papers that I found when I was just getting started with LV. They can show you how to think about your problem--and that is really the hardest (and most important) part.
    Contact me directly and I'll email them to you. The archive is to large to post.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Whether JavaFX is the right choice for my application??

    Hi,
    I am interested in creating a graphics application. I have bunch of sensors on a table and I want to create different images on the table through a projector hung on ceiling facing down. I am have some values for a gray scale. Say for example I have 250 values then I want the screen to be divided into equal 250 rectangles and each of them will be given a color based on the gray scale value I have. If I have 800 X 600 values then I will have that much resolution of the gray scale image. after certain time the values change and I have to change the image as well.
    I thought of using JavaFX but I am not sure should I go with this or there is some other language or tool which will be very helpful in creating application at pixel level?
    Samip

    Pixel level manipulations is not the strong point of JavaFX.
    For the application you describe, I recommend instead using Processing, lot of people use it for shows and exhibitions. And it interfaces well to hardware.

  • Ready for Production ?

    I've been going through a number of sample apps developed with JavaFx. They look pretty good but some of them suffer from delays from the time the buttons etc. are pressed to when the response comes through. It's not my computer as I'm running a Quad core with 4GB memory and only one IE browser in the applications + cable connection to internet.
    Has anyone else noticed the same problems ?...or different ones which at the 30,000 feet level would discourage one to deploy JavaFx in production today ?
    Does anyone know which year/month the next release is coming in off the top of their heads ?

    Where you find such application?
    look to this link [http://jfxstudio.wordpress.com/author/surikov/|http://jfxstudio.wordpress.com/author/surikov/]
    JavaFX ready for production.
    Edited by: Surikov on Apr 20, 2009 4:17 AM

  • What will going to happend with app that are not ready for IOS 5?

    What will going to happend with app that are not ready for IOS 5?

    Most applications will work just fine.  I typically have 150 or so apps installed, and typically only 1 or 2 will "break".  The vast majority of apps will continue to operate just as well as before if not better.  iOS developers are privy to beta testing the upcoming OS, so the week or so before and after the official release you'll see a larger number of apps needing to be updated than normal.  Last night I updated 23 apps, and you'll see alot over the next week or two getting updates.  Most are making minor changes to take advantage of new APIs, or add a new feature based on a new function of the OS (like twitter integration into the OS for example).  Very few apps, (maybe 3-4 percent??) actually are getting updated because they're broken, but there will be a few.  Most of the time, any apps that would break will have already been addressed in an update prior to the release of the new OS, and you've probably already updated that app so that it will work seamlessly and perfectly after the update hits.

  • Are the templates ready for production ?

    Hello,
    As per the reading of the documentation PeopleSoft_Statement_Of_Direction_May_2011.pdf (MOS note #1320581.1), we can understand Oracle is providing termplates ready to go for production use :
    "+...PeopleTools will continue to provide production-ready templates that allow IT staff to get a PeopleSoft system online quickly or to dynamically add or remove PeopleSoft components from a PeopleSoft application...+"
    But from the readme documentation delivered in the templates, it sounds an other story (here's the output of the last OVM template) :
    "+...This template was built for demo purposes. Out of the box it is not recommended for production use...+"
    Not sure how to understand both sentences and if they match somehow.
    Nicolas.

    Where you find such application?
    look to this link [http://jfxstudio.wordpress.com/author/surikov/|http://jfxstudio.wordpress.com/author/surikov/]
    JavaFX ready for production.
    Edited by: Surikov on Apr 20, 2009 4:17 AM

Maybe you are looking for