Re: Creating Graphical User Interface Using MIDP

You may want to have a look at the ItemStateListener interface.
"This interface is used by applications which need to receive events that indicate changes in the internal state of the interactive items within a Form screen."
To see an example, see the Currency Converter project from the Netbeans IDE.
Strangely, I installed the app on my Sony Ericsson K810i and it doesnt update automatically , I need to type the full amount and press Ok.
Maybe it depends on devices.
Hope this helped
Cyril

This is a very general question, but as a general answer, different screen are commonly handled by using different pages on a tab control and programmatically switching between them (you hide the tabs themselves) or by using different VIs. Monitoring for user interaction is done by using an event structure which will allow you to execute code when a button has been pressed. There are quite a few examples in the example finder (Help>>Find Examples) and some templates (File>>New) for how to do this.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world!

Similar Messages

  • Want to create Graphic User Interface with Adobe CC but which package is best to use?

    I have a CC subscription and (instead of finding yet another package to use) figured there should be something I can use to create the icons needed.  Would appreciate being pointed in the right direction regarding which software within the CC suite I could use.
    I've attached some examples of the GUI that I need to create/edit.  The previous creator (who no longer works with business) used SolidWorks.

    Thanx Mylenium.
    Yeah, the SW is very . . . clunky.
    Have looked started looking at using Photoshop while waiting for Illustrator to download,
    I will admit I am loving learning how to use my CC Suite, just a bit of a struggle sometimes figuring out which is the better software to use for the different things I want to create.
    Erica

  • Subtyping & Creating Graphical User Interfaces (GUIs)

    What is subtyping in Java and how can it be used in Java applications. Please give some real world software applications where it might be used. What it its function or purpose primarily?

    What is subtyping in Java and how can it be used in
    Java applications. Please give some real world
    software applications where it might be used. What it
    its function or purpose primarily?Subtyping is another word for class extension. The subclass will inherit properties from the superclass it has extended according to the rules of Java. This can be used in any application written in an object oriented language. The purpose is to establish a hierarchical is-kind-of relationship between classes. For example the classes Car and Bicycle could be subtypes of class Vehicle. It's a way to model data.

  • A more successful experiment in creating compositable user interfaces for Config Dialogs

    A couple weeks ago I posted an experiment in creating compositable user interfaces using transparent subpanels. The approach might best be described as, "It at least was notable for being novel."
    Today, I'm posting another attempt, this one along more traditional lines, and far more successful. Particularly notable: this one can do all the arbitrary composition of the last one AND it solves the TAB order problem.
    This solution uses a picture control and renders N copies of a control. When the user tabs to a control or moves the mouse over the control, a real control slides into that position to be able to catch the events (update mouse over draw state, highlight for keyboard focus, handle typing, etc). When the Value Change occurs, a master array of data is updated and the picture control is updated.
    This is something that has been attempted in various forms in the past, but there are two aspects of this particular implementation that make it nice:
    its programmatic interface for specifying the behavior of the various objects should make it fairly easy for a user of the framework to programmatically generate their dialogs
    it handles the TAB problem without flickering, something I haven't seen in other attemps
    This idea spawns out of conversation about the previous experiment -- thanks to those of you who posted on various forums, e-mailed me, or, in a couple cases, showed up at my desk. That last one is not something I'm encouraging unless you work at NI... just saying. :-)
    Now, this experiement has already yeilded some interesting conversation. We note that as long as controls are instantiated independent of each other -- that is, no property of one control depends upon the property of another control -- this dialog system scales nicely. But in this experiment, I implemented Radio Buttons, which interact with each other -- when one is set True, the others go False. As soon as controls start interacting with each other (such as graying out one control when a checkbox is toggled, or having expandable sections, or really complex cases like updating a graph as some options change, like happens in some Express VI config dialogs) then we start needing ways to refer to the other controls. This rapidly moves us in one of two directions: naming controls or creating references. The naming approach is definitely my preference as it fits better with dataflow and I can do some interesting effects with breaking apart some of the tree. But all of this quickly starts sounding like "Please implement a XAML parser in LabVIEW." For those of you unfamiliar with XAML, in the world of UI design, it might very well be the coolest thing since sliced bread. A XAML string would indeed fit with dataflow, and we could start building that up. I hesitate to head down this road for two reasons. One, as many have noted, there's really not a good XML parsing library written in LabVIEW that can give me a useful DOM tree. Two, that's a huge project and my gut sense is that you'd have to complete a fairly large chunk of it before you'd start seeing any return on investment. But it is worth thinking about -- I might be wrong. Wouldn't be the first time. This code that I've posted today can at least get you started on the generation side if one of you decides to become industrious.
    I'm turning my attention away from this project for now... coding in G is lots of fun, and I wish I could spend more days doing it, but this has been a side project and it's time to get back to my assigned projects in text programming. Building a powerful platform for automatic UI generation in LabVIEW would be really useful -- I see lots of requests for this sort of thing, and other languages are pulling ahead of us in this domain.
    [UPDATE 5/17/2012 - There is an improved version.]
    Solved!
    Go to Solution.
    Attachments:
    ConfighThroughCtrlCreation.zip ‏558 KB

    Elijah K wrote:
    Thanks for posting this Aristos.  I would normally be one of those to go bug you at your desk, but in case I'm not the only one with this question... which particular flickering problem are you referring to?  The act of switching tabs?  In all honesty, I've never noticed...
    When you move controls around on the screen, normally you try to Defer Panel Updates while you do that. But Defer Panel Updates has an effect on control's abilities to catch certain mouse clicks, so when you're trying to move a control to catch the mouse, you have to work a lot without Defer Panel Updates, so if you're adjusting captions, etc, to match the new location, you can see flicker as properties adjust. You can move the control off-screen, as long as you have already updated the picture control to reflect the changes. It took a while to catch all the ways that the flickering can crop up. I think I got 'em all.
    Attached are the VIs saved for LV 2009. Actually, they're saved for LV 8.6, but it doesn't work in 8.6 because of a bug in the picture control that existed back then.
    Attachments:
    ComposableUI_LV2009.zip ‏391 KB

  • Graphical user interface

    Dear all
                    i am trying to build a graphical user interface using labview 7.1 but i am new to it and finding difficulties.
                     my first window should contain two push buttons A and B(like ac machine, dc machine) when a user click on any of this button
                    the next window should show another push buttons C and D,and this button should link to some VIs which should start running   by   clicking any of those two buttons
    Thanks in advance to anybody who can help

    This is a very general question, but as a general answer, different screen are commonly handled by using different pages on a tab control and programmatically switching between them (you hide the tabs themselves) or by using different VIs. Monitoring for user interaction is done by using an event structure which will allow you to execute code when a button has been pressed. There are quite a few examples in the example finder (Help>>Find Examples) and some templates (File>>New) for how to do this.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • How to create a form which uses graphical user interfaces(GUI) features.

    i'm working as a administrator in a private college..i have some problem..
    how to create a student registration form that uses most of the graphical user interfaces(GUI) features. The form should consist of the following features:- Label, Button, Check box, Radio Button, List, Panel and Layout. The GUI features must be functional.
    how to write that programme in JAVA ?
    please help me to get the code..

    So are you saying that this person is legitamately asking for someone to write up this student registration form, for use in some sort of production student registration application? Ok, if so, I apologize for jumping to the wrong conclusion. But, to me it sounds like a student hit the "Using Swing" chapter in the text and was given the following assignment:
    For this assignment you are working as an administrator in a private college and you need to solve the following problem:
    You need to create a student registration form that uses most of the graphical user interfaces(GUI) features. The form should consist of the following features:- Label, Button, Check box, Radio Button, List, Panel and Layout. The GUI features must be functional.
    You have two weeks.
    Now, I suppose that I could be wrong, if so, I apologize and go with the previous poster that said ask a comp sci student to do this for you.
    Lee

  • I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoint​s along with text box. Can anybody help me in this? Thanks.

    I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoints along with text box. Can anybody help me in this? Thanks.

    Thanks for you reply.
    But actually I don't want to show the \ (backslashes) to the user in my text box. 
    Ok let me elaborate this problem little more. 
    I want to show my text box as it is in normal editors e.g. In Matlab editor. There is a text box and on left side the gray bar shows the line numbers corresponding to the text. Further more i want that the user should be able to click on any line number to mark specific line as breakpoint (red circle or any graphical indication for mark). 
    Regards,
    Waqas Ahmad

  • Graphic user interfaces

    Does oracle olap have graphic user interfaces like SQL Server Analysis Services?

    At Escendo we also offer products that have direct access to the OLAP Option including write back. Escendo Analytics, and Architect. Check us out or contact us at http://www.escendo.com
    Escendo Analytics*
    * Full graphic Calculation builder including support for aggregations, allocations, models and many others even including the standard regression and forecasting, Geneva Forecasting and Monte Carlo simulation.
    * Process Management which utilizes DBMS_SCHEDULER making for multiple threaded processes such as as parallel loading/processing a snap - full dependency mapping and approvals and flexible scheduling.
    * Direct Read/Write access through our ad-hoc reporting with all the usual slice and dice features you would expect in a flash front end
    * User access control and management through our Business Perspectives (users, groups
    * Easy sharing and collaboration - use any standard SQL reporting tools against the the same data (obviously since this is an Oracle Forum I must add that OBIEE, Publisher, APEX etc - literally any reporting tool)
    Architect* is a multi-simultaneous developer workbench which allows full direct access to the OLAP Option capabilities, while our Analyzer web interface to Analytics provides
    *version Control including optional integration with subversion, promotion management (dev->test->QA->PROD for example)
    *partition templates
    *Fullly automated multi-user access
    *both Visible and non-user visible measures
    *aggregation and allocation management
    *native support for both level and value based(ragged) hierarchies
    *model and Program editing with lots of Features for productivity and quality enhancements (we use it to develop our flagship products)
    *Conversion utilities for legacy Express Applications (Like OFA)  - we have converted OFA systems (including reports and saved selections) with huge performance boosts in under a week.
    Don't forget that since we are inside the database with Oracle OLAP, there are huge benefits in managing a truly integrated solution. As part of the database kernel, you have scalability, performance and reliability which is unrivaled. (Things like rman, imp/exp etc.
    A partner has an excel add-in which has native support the Escendo application platform. http://myobjectiveolap.com/index.htm It is very useful in that you have very advanced control and interaction with the OLAP option allowing complete control over your excel formatting and layout.
    Edited by: user467608 on Jul 8, 2010 7:41 AM

  • Graphical User Interface Library

    I begin to develop a graphical user interface (which can be an applet or an application) whose main purpose is to display graph with nodes. I would like to use a powerfull graphical user interface library (even not free) but I don't know any. Someone's got an idea ?

    Good god my writing is awfu! edit:
    When something slows down a programme then in most cases algorithms are the source for the lag, try using better designed algorithms using less iterative content if you want some fast programmes.
    Anyways concerning portablility and avalability on the internet there is always a price you pay and in most cases the price is speed.
    Another concern is when using third-party libraries with Applets most users will have to download these to run your Applet, which of course takes it's time.
    Maybe you want to think about your position against AWT and Swing - I don't want to promote them in any way - but speaking of applets there is nothing that I know could circumvent additional downloads.
    Greetinng,
    .o0|LIQID|0o.
    ain't got time to loose.

  • Safari graphical user interface poor quality on Macbook Pro Retina

    I’ve noticed that the Safari graphical user interface quality is not good on my Macbook Pro Retina display. Although it has been optimized for Retina displays I keep seeing strange artifacts or glitches from time to time, while this one is persistent, check out the dark stripe behind the bookmarks toolbar : https://www.dropbox.com/s/pa7zizpbi7vdx41/Screen%20Shot%202013-04-21%20at%2012.5 6.11%20PM.png (if the link doesn’t open on click just do the right click - open in new tab) There are also same “spots” on toolbar buttons (bookmark folders) as well, but they are a bit harder to discern.
    I don’t think it is a graphic card or display issue since almost all of retina-ready apps work just fine (I have replaced my LG with a Samsung screen, btw).
    I wonder does anybody have the same experience with Safari? And if so, has anyone managed to solve the issue?

    Try creating a brand new account (in System Preferences -> Users & Groups) and test there.
    Tried. The same.
    I don't actually have a retina machine, but I see no reason for this to be related to the fact that you have a retina MBP. Unless you have information that suggests it is present on other similar machines...?
    At first I thought that it was just on the Retina, but then I really looked into my external monitor and saw it — looking at it right now. It seems to me that when Always show tab bar is ON the space between Bookmarks bar and the tab is sloppy sliced.
    The hDPI screen reveals the graphic irregularities from regular DPI screens without a problem.
    The reason I posted this here is because I saw many people are having glitches, artifacts and flickers with Safari (on Retina).

  • Is my 3GS graphical user interface the same as iPhone 4?

    I have a 3GS iPhone and am using Version 4.0.2 (8A400) of the operating system.
    Is the graphical user interface (GUI) on my phone the same GUI that you see on iPhone 4? Thanks.

    Does anyone know whether apple is developing a new UI for any iphone firmware updates? I
    Apple hasn't announced plans for a "new UI" and no one here knows anything beyond what Apple officially announces. Any Apple employes who participate here are bound by nondisclosure agreements. Also, posting rumors or speculation about Apple policies and plans is prohibited by the forum Terms of Use.
    That said, I can't think of any reason why Apple would want to develop an entire new UI for the iOS. It's safe to say it's been a resounding success as it is.

  • How to create Labview User Interface with buttons?

    Hello,
    I try to create a user interface, where the TestStand sequencies can be selected one by one not only Test UUT, Single run and run Mainsequence (about 20 buttons needed).
    I'm playing with the simple UI shipped with TS and can load the sequence file and run automatically a sequence (Main or another).
    How can I create and assign buttons to all sequence files in my TS project?
    Any help would be appreciated.
    Thanks. (TS 4.0, LV 8.0)

    I've modified my main VI with the below steps.
    I still don't know how to create and assign front panel buttons to the user interface.
    Anybody could explain to me how do I need to modify the attached part of my main vi and how to assign buttons.
    Thanks.
    Attachments:
    InteractiveArgs_2.png ‏12 KB

  • Create a User Interface...

    Somebody can help me or a tutorial for this?
    How can I create a user interface to view listings and search
    results?
    Thank U all

    Hi Anu,
    I've created a set of VIs for Password changes with priveleges for Admin & User logins.
    I've done for normal notepad text files without file extn.
    So, U can easily modify them as per Ur Excel requirement.
    It's a very basic functionality VI set, that it doesnt have the feature of adding Admin Logins while runnig, U've to modify a littlle bit by Urself.
    Pls make sure that the "list" file exists in the Current Working Directory from which U run the Untitledpass.VI.
    This is the top most VI. Run it & explore the features.
    Rgds,
    Partha.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Password1.zip ‏294 KB

  • Problem with "Creating a user interface" ex1_02

    I was going through the exercise for creating a user interface for the Employee Portal and the window is not resizing at all when the window is adjusted. I thought I made a simple mistake somewhere but my code is exactly the same as the solution file which doesn't resize as well. I followed the instructions exactly as described (triple-checked) and tried running the web application in both Mozilla Firefox 6.0 and IE 8.
    The files and instructions mentioned can be found here: http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_02.html
    Thanks in advance.

    Sorry for the delayed response.
    Are you referring to the part of the video where the browser window is resized so that the application content is not contained within the Rect component? If so, this was only shown in the video to demonstrate how the bottom of the Rect component resizes based on the browser, while the contentGroup does not resize based on browser's height.
    In the finished application, you should not see the application's height collapse. However, if you expand your browser, you should see that the Rect component is still constrained to 20 pixels from the bottom of the window.

  • Prob creating ABAP Proxy-Interface use external and interna msg definition

    Hi,
    I've created a service interface using external definition (message type for request and response), imported via WSDL file. However, while creating ABAP proxy in SPROXY, it gave the error message "Interface uses external and internal message definition". I searched through the forum, the questions were raised but no definite answer was found. Is it not possible to generate a proxy if there is any external definition used?
    Details of the error message:
    Message no. SPRX122
    Diagnosis
    In a message interface you can use messages from different sources:
    Message types and fault message types edited in the Enterprise Services Repository
    Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Enterprise Services Repository.
    p/s: My external definition is actually derived from a ABAP FM web service. The reason why i used external definition is that i try to avoid the tedious steps of hard-coding all the data types for the request and response message types.
    Any help would be highly appreciated.
    - julius

    Hi Arvind,
    For technical reasons, proxy generation and the respective editors in the Integration Builder do not support the entire language range of XML schema and WSDL. For an overview of which language elements are supported, see the Excel spreadsheet in the SAP Service Marketplace at service.sap.com/xi ® Media Library ® Documentation: SAP XI 3.0 (SP11) u2013 Supported XML Schema and WSDL (EN).
    I couldnt find the above document in the service market place. Any hint to find it?
    Thanks.
    - julius

Maybe you are looking for