Light Weight Component

Hi,
I want to create my own Light Weight component and I search informations about it.
If anyone know a good cup of ressources you can write here.
Thanks.

Do yer own research, lame-brain.

Similar Messages

  • Light weight && heavy weight

    hi
    i have on doubt in swing... awt are heavy weight && swing are light weight .awt are system dependedent ....iam right..
    if right System dependent in this sence java is plaftform independent
    so how is it possible..
    pls give me details
    regards
    kedar

    Light weight components: To draw the components the jvm takes the os routine.
    Heavy weight components: To draw the components the JVM takes its own routines.
    You can check this. If you draw the awt component in one os it gives the different layout in other os. But this is not in the case of swing.This is the main difference . That's why the main components in big project are done in swing.
    if in doubt please ask?
    javasans

  • Why the AWT components are called heavy-weight and SWING as light-weight?

    Why the AWT components are called heavy-weight and SWING as light-weight?.
    Building our own components means overhead on JVM. hence in what sence the SWING components are called light weight.?
    I know that the Swing componets are the components which are not going to depend upon peer classes and render, OS independent LOOK n FEEL.
    Thanks,
    Sanath Kumar

    All extensions of Component are considered lightweight since, as you point out, they don't have their own dedicated native peer.
    Essentially a lightweight component only has a canvas on which to draw itself and some means of receiving events from the system. In fact, there is no need to have one of these "canvas" and "event" objects for each component - the parent component can manage these abilities on behalf of its children. Eventually you end up with only top-level components needing to be heavyweight in order to communicate with the windowing system.
    A lightweight component therefore has the minimal dependency on the underlying windowing system giving you maximum cross-platform flexibility.
    It is usually true that lightweight => slower and heavyweight => faster since it is reasonable to assume that native peers will be optimal for the windowing system. However, that's not the point of the lightweight/heavyweight distinction.
    Hope this helps.

  • Qt heavy weight component

    Hi guys,
    Im using the QT java api and have hit some problems with their AWT video window component. The reason I'm posting here rather than the QT forums is that I believe this problem is common to all heavy weight components in Java.
    Ok, the QT api offers a factory method for creating what they call QTComponent (awt heavy weight component - extends java.awt.component) which I add to a dedicated JPanel.
    I need to be able to set the visibility of the video window so I do;
    parent_panel.setVisible(value)
    parent_panel.repaint();
    parent_panel.invalidate();
    parent_panel.validate();
    which sets the parent JPanel visibility to hidden but does not hide the child video window. (note: this is called from the event dispatch thread).
    I have tried validate, invalidate, repaint (you name it), on both the parent JPanel and the java.awt.component itself, but this still doesn't fix the problem.
    One thing to note is that if I resize or minimize then maximize the container JFrame the video window disappears. So i'm guessing the handlers for these events execute routines I need to in my 'setvisible' method.
    If anyone could help that would be great.
    Many thanks,
    Alex

    Athlon1600 wrote:
    that heavy-weight component is JDIC web browser. It's the only cross-platform browser I know and it's one of the main controls in my GUI. can't change thatCan't help you there.
    JInternalFrame descends from JComponent? yes?Yep. So it's lightweight.
    Well, I'm not smart enough yet to mix lightweight and heavyweight components, but fortunately Google is: [Mixing Heavy and Light Components|http://java.sun.com/products/jfc/tsc/articles/mixing/]
    ~{color:gray}the first hit by the way{color}~

  • Variable Defaults in Light Weight Designer

    I have two Text variables(say NAME and COMPANY) in my project. Both of them are defaulted and are being used in my package. I created a scenario for the package by giving "Selectve Use" and selecting only the NAME variable as parameter to the scenario.
    I executed the scenario from two places. One using the Operator and other from the Light Weight Designer (HTML UI for ODI) .
    On execution from the Operator, the default value for both the variables are retained. But when I execute from the Light Weight Designer the NAME variable retains its default value but the COMPANY variable becomes null.
    I want the COMPANY Variable also to be defaulted to what i entered.
    I know that "Use All" variables while Scenario creation will solve the purpose, But i dont want the COMPANY Variable to be exposed to the User.
    Can anyone help me on this issue.

    Hi Vijay,
    Makes sense now...:)
    Well sometimes even though you say some default values ODI wont bother that...Here is the hack for that...
    Just make that variable to SET variable and Assign "Oracle" for that, make Action as not persistent,datatype as Alphanumeric and proceed with your procedure..
    Make sure that in your procedure give that variable in single quotes..means,
    update employee set company = '#COMPANY' where <condition>
    Does it makes sense?
    Thanks,
    GS

  • Arch as a light-weight virtualbox host?

    I'd like to setup a boot option for an ultra-light-weight host for some VirtualBox VMs. These VMs (Windows XP, Windows 7, Mac SOX) are going to run some processor/RAM intensive programs, so I want to be able to dedicate as much RAM as possible to them when I run them. Is Arch a good choice for my application?
    Also, I've heard that it's possible to install and use VirtualBox without a GUI/desktop manager. If anyone has any experience with/tips for doing so, I'd appreciate the input.

    I would say Arch would be fine for that purpose, here is more information about running Virtualbox headless (without a GUI):
    http://www.virtualbox.org/manual/ch07.html#vboxheadless

  • Alternative to Adobe Pro for generating light-weight PDFs for Mac?

    Is anyone aware of a lower cost alternative to Adobe Acrobat Pro for generating light weight PDFs?

    Almost anything will export to PDF. Pages, for instance. $20.
    You'd be hard pressed to find anything that won't.

  • Light weight access point, vlans, multiple ssids

    Hi everybody
    Let say we have an light weight access point ap1.  Ap1 is broadcasting two ssids:
    cisco1  which is mapped to vlan 1
    cisco 2  which is mapped to vlan 2
    If ap1 is using channel 6 for cisco 1, does it mean ap1 will also use same channel i.e channel 6 for cisco2?
    thanks and have a great weekend.

    sarahr202 wrote:Hi everybodyLet say we have an light weight access point ap1.  Ap1 is broadcasting two ssids:cisco1  which is mapped to vlan 1cisco 2  which is mapped to vlan 2If ap1 is using channel 6 for cisco 1, does it mean ap1 will also use same channel i.e channel 6 for cisco2?thanks and have a great weekend.
    Lightweight WAP right?  As in controller-based WAP?
    If this is the case, then the answer is both a yes and a no.
    Let me explain:
    Throw away the notion that you can set the channel down.  I mean, if you have a controller-based WAP, the last thing you want to do is "micro-manage" which channels your WAPs operate on.   I mean, you can but as a rule-of-thumb, you don't and let the controller sort things out.
    So, going back to your question:  You whave multiple WAPs and two SSID:  1 and 2.  Let's presume that you've configured that all your WAPs will be broadcasting SSID 1 and SSID 2.
    The decision about what channels each WAP will be operating on falls squarely on the Wireless LAN Controller (WLC).  The WLC makes this decision based on a blah-blah-blah algorythm.  If, for example, WAP A and, say, WAP R can "hear" each other on the same channel, the WLC will make the decision and say, "Hey WAP R, since you and WAP A are operating in the same channel and both of you can hear each other, why don't you, WAP R, operate in channel 11.".
    However, if WAP A and WAP R can't see each other then both of them can operate in the same channel.
    NOW, here's comes the tricky question ... Here's the scenario:  You have SSID 1 and SSID 2.  You want all your WAPs to broadcast both SSID.  HOWEVER, you want SSID 1 to operate at, say, 1 Mbps rate only while SSID 2 can operate at all other data rates.
    Yes, this can be done using RF Profile and AP Groups.
    Is this what you are asking?

  • Are a single ns-slapd process and its 32 LWP (light weight processes) limited or bound to a single processor?

    ns-slapd and its LWP sub-processes seem to appear as a single process in some tools. Does this limit them to only being able to use one of the available processors on a multi-processor system, either due to lock management or for some other reason?
    W see all the CPUs on a four processor system receiving activity, but the system never exceeds 25% utilization, or, the total of a single CPU.
    Is this a limitation, or are we just not using it much yet?

    <i>Are a single ns-slapd process and its 32 LWP (light weight processes) limited or bound to a single processor?</i>
    The short answer:
    No, and you shouldn't need to worry about it anyway.
    The long answer:
    The configuration LDAP is never a bottleneck in an iAS system. You could have hundreds of iAS servers running off a single instance and a single processor LDAP would still be able to handle the configuration requests easily.
    If you also use your LDAP server as an authentication repository, you should size your LDAP server based on your authentication needs. But even if you are using iDS as an authentication store there are several other factors to keep in mind.
    1. iDS scales pretty effectively up to about four CPU's for the most important operations (i.e. reads)
    2. Unless you are running some unusual application server hardware, you will run out of disk i/o long before you run out of CPU power.
    3. If you have any significant load on the directory server you should probably offload it onto its own server (or partition) anyway so that it doesn't steal excessive amounts of memory from that appserver.
    4. Similarly, if you are putting a lot of stress on the directory server with authentications, you should consider tuning the directory server for those authentications.
    I guess a little more detail about your application server architecture would be helpful in figuring out why your CPU doesn't exceed 25%. I strongly doubt that it has anything to do with slapd, however.

  • Installing Light Weight Designer for ODI 10.1.3.4 on Linux

    Experts
    We have installed ODI 10.1.3.4 on Linux and we want the ODI Light Weight Designer setup part of it. We have deployed the application in a OC4J instance and updated the repository.xml , web.xml and snps_login_work.xml with the right JDBC datasource & work repostiroy details
    On launching http://<hostname>:7777/oracledilwd and trying to login with SUPERVISOR/SUNOPSIS we see below warning and we are unable to login further
    java:comp/env/jdbc/ORACLE_MASTER not found in Oracle Data Integrator LightWeight Designer
    Further in the opmn logs below error is seen:
    javax.naming.NameNotFoundException: java:comp/env/jdbc/ORACLE_MASTER not found in Oracle Data Integrator LightWeight Designer
    Please let help us here !
    Shankar

    Try to modify the data source definitio to remove the leading java:comp/env - this may resolve the issue.
    I kniow, that makes it non-standard JNDI, but sometimes, that's what has been implemented.

  • [svn:fx-trunk] 5115: Adding SpriteVisualElement, a light-weight, Sprited-based implementation of IVisualElement.

    Revision: 5115
    Author: [email protected]
    Date: 2009-02-27 13:27:41 -0800 (Fri, 27 Feb 2009)
    Log Message:
    Adding SpriteVisualElement, a light-weight, Sprited-based implementation of IVisualElement. This will be used for some FXG compiler optimizations.
    Added setter for includeInLayout into IVisualElement so that DataGroup's virtualization code can use this, rather than cast it to a UIComponent. I also removed an unused method in DataGroup: _removeChild. We needed this before to remove children on a previously parented DataGroup, but now that we do the cleanup pro-actively, this is no longer needed.
    Also a few ASDoc cleanups in IVisualElement, ILayoutElement, and FxDataContainer.
    QE Notes: -
    Doc Notes: -
    Bugs: -
    Reviewer: Chet, Evtim
    tests: checkintests, mustella list, datagroup, fxdatacontainer, buttonbar. Some mustella were failing, but I think it's just a mac thing.
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as
    Added Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/SpriteVisualElement.as

  • Light weight custom portal server install to run webcenter blogs

    Hi,
    We are running PS6 UCM, we just leverage blog service provided by webcenter for blog functionality to be implemented.
    Is there lighter version of webcenter custom portal server, that we could you just to run blog service and associated (document service) components.
    Any pointers in this direction would be helpful.
    Thanks,
    Seshan K.

    "Light weight custom portal". In terms of hard drive space or CPU and Memory?.
    I don't know which license do you have for WebCenter (Portal, Content etc...).
    In case of having a WebCenter Portal license (for document services components) Install WebCenter (extended for WCPortal Framework Applications) and just enable the Services or components that you are going to use (like CustomPortal and UCM servers only).
    Regards.

  • Edit in ODI Light weight designer

    Hi,
    I have installed ODI 10.1.3.5 on Windows 2000 and also installed oc4j. I have deployed metadata navigator and Light weight designer. All are working
    I am not able to edit any interface / package in Light weight designer which I have developed via ODI Designer.
    Can I create new interfaces vi Light weight designer.
    Do I have to install any thing extra?
    Thanks
    Arun

    Well our administrator installed it so Im not sure how he did that.

  • Light weight Java IDE needed linux only

    Hi,
    I'm looking for a light weight java ide that will run on linux. An editor with some basic options such as auto-compelte like in jbuilder and eclipse, doesn't have to have a gui designer but would be nice if it could handle packages and such. I'm running 128 mb of ram RDRAM and a p4 1.3 ghz and i'm getting tired of all these ide's not responding every 3 minutes. Could someone please recommend a light ide for java??
    Thanks!

    I mean why can't you use Eclipse?With only a 128MB of RAM Eclipse is going to struggle. I would second the other posters suggestion of looking at JEdit. But the OP might want to splurge and buy some more RAM, regardless of what editor they end up using.

  • Light Weight JCE Provider with RSA implementation

    Hi all,
    I'm working on an applet that requires RSA encryption, but I have size constraints so I canno tuse the BouncyCastle provider (891 KBs)
    Does anyone know where to find a light weight JCE provider with an implementation of RSA, I've been searching for a while but without any luck!
    Thank you in advance

    You can use the lw-apis from BC and drop the JCE part. The JCE for BC is just a facade to the lw-apis anyway. And if you use the lw-apis you don't have to worry about any signing issues with the applet.
    Cheers,
    --- jon

Maybe you are looking for

  • Unable to install JBI correctly

    Hello, I am installing JBI at "C:\Sun\Jbi" and it says JBI installation finished, but I can find only one file in tht directory and that one is "Uninstall.class". below is the content of the installation log file =======file name Java_Business_Integr

  • Travling tips with a G4

    We're going to Las Vegas during spring break. My daughter will be bringing her Mac Book Pro and I'll be bringing a G4 iBook. Any tips on going through security like while they ask us to turn it on? I've heard warnings about making sure that we make s

  • Setup wireless card during bootup

    Hey, It took my awhile to get my wireless card to work but I finally got it to work. In the beginning, I had to type every command to get my wireless card to work. A little later my friend made a script that runs during start up. But it encountered a

  • Changing E6 default music player

    Hi Have installed QuasarMx on my Anna E6 and would like to have as my default music player but when I go to settings|application settings|default applications and try andchange the dafault for playing music only the Nokia Music player is listed. Any

  • Saving folder structure after having to rebuild iPhoto library?

    After my iPhoto library crashed I recreated it (by creating a "new" iPhoto library) and managed to save all pictures. However, the previously created folder structure is gone. Is there a way to get it back? It looks like it still technically exists i