Compliabiality of DOT NET graphical Interfaces (GUI) with Java

Hello
Right now, I'm about to start the GUI in Java learning.
I have gained all the basic knowledge of Java enough to learn GUI.

My Questions are:
(1) in a first time learning Java GUI, is it really necessary to learn AWT before learning Java Swing framework?

(2) I heard that VISUAL STUDIO of Dot Net Framework supports advanced of GUI facilities and rich watch that we use to build graphic interfaces that must operate in Java Applications, so that Java Gui done, can the .net GUI library classes?

Also is this really true?

Tejaswi.B wrote:
.. is it really necessary to learn AWT before learning Java Swing framework?

No, but noted there are many (no) components of AWT that could be used in Swing interfaces. Fonts, sizes, layouts...

This being said, follow the link provided Darryl and you will find the tutorial covers these classes (or almost) as if they were Swing.

(2) I heard that VISUAL STUDIO of Dot Net Framework supports advanced GUI facilities and rich look than that of Java Gui...

Where did you hear that?

As far as I understand, there are a few components provided in .NET that are not in the swing, such as (I don't know how it's called) a "list of switch" where there are two lists side by side with buttons to move items from one list to the other. These components are possible from other components in the swing. I guess that Swing developers felt that these components were rarely required to justify the addition of a specific component for them.

You can also go on SwingX (https://swingx.dev.java.net/), which is based on the swing to provide additional components.

Tags: Java

Similar Questions

  • Can not play in DOTA on Satellite L510 (i3) with Intel HD graphics card

    Hello

    Can anyone help me regarding the Satellite L510 (core i3)? Can not play in DOTA even if updated the latest display driver (Intel HD Graphics (Core i3) with 8.15.10.2086 version of the driver.) on Intel website, but still can not solve my problem. I tried to reinstall using win7 or vista OS but still the same.
    Someone at - he had to face the same problem with me?

    Thank you.

    Hello

    What s wrong exactly?
    You are not able to start the game?

    You compared the required for the game with the hardware specifications of notebooks?
    Your good enough to play this game material uses better resolution?

  • Dot net Frame work 2.0 SP2 and 3.5 Sp1 failed with error 0 x 80070643

    Can you please help me out with the solution for Dot net Frame work 2.0 SP2 and 3.5 Sp1 failures that occur frequently.

    We tried with the dotnet uninstall and update with the last, but still the questions are on the same machine when we have updated with the latest patches released from Microsoft.we use WSUS 3.0 to update patches from microsoft in desktop computers

    Error code : Installation failure: Windows failed to install the following update with error 0 x 80070643:

    Please help with a permanent solution.

    http://support.Microsoft.com/kb/976982

  • Interface GUI language PIX

    Guys,

    Is the graphic interface of the PIX with a multilingual browser configuration? What languages are supported? In particular is a Japanese GUI available? And if cannot, therefore, a user/administrator choose which language he wants when connecting?

    See you soon,.

    Vito

    Hi Vito,

    I've never heard of PDM to be multilingual.

    Thank you

    Nadeem

  • Container of DOT NET when relocating FP opening of secondary

    Hello all,.

    In my application, I wanted to load a VI that contains LabVIEW and Dot NET controls in a secondary and clicking on a button (say out), I have to remove the secondary and to open the Panel before the VI which was shown which was loaded in the secondary. But when I do that the containers Dot NET gets moved. I don't understand why this is happening. Please give your suggestions about this behavior and is it possible to fix this.

    PS: I have attached pictures so that the sample project explaining this behavior

    Thanks in advance,

    Sree.

    I did a lot of work with containers of .net and is not ONLY unique to the sub-panels.  I think that the problems come from the origin of the windows and scrollbars and dispatchers can affect the offset of a .net object as well.  A few ideas to help are to eliminate the scroll bars in the secondary, if you don't display them when it is inserted in the secondary, to avoid changes to the scroll bar.

    If it's not working for you, you're just programmatically to set the position of the .net container in your secondary, with an event, or remotely with VI server once it gets attached to ensure that it is in the right position.  Lot of ways sof to fix it, unfortunately they are all manual.

    It can also help position 0,0 .net containers (origin) so more easily control the movement and positioning.

    Hope it helps you to find a solution.

  • Family and dot net framework 3.5 sp1 update Setup error

    Hi all

    my system is windows vista 32 bit sp1.whenever I use windows update to install
    IMP updates dot net framework 3.5 sp1 and update family gives x error 0643.
    After crossing the suggestion given for this error to microsoft, I tried to
    manually install, but it gives error with desc set. and connect you as below. Help, please:

    Description:
    Microsoft .NET Framework 3.5 SP1 has encountered a problem during installation.  Setup did not complete successfully.

    Signature of the problem:
    Problem event name: VisualStudio8Setup
    Signature of the 01:35101 problem
    Signature of the problem 02: 3.5.30729.01_ORCAS_X86_NET
    Signature of the problem 03: CBS
    Signature of the problem 04: INST
    Signature of the problem 05: F
    Signature of the problem 06: gencomp750, {61040379-156d-4ece-b126-ea395a3b2
    Signature of the problem 07: BASERET_UNKNOWN
    Signature of the 08 problem: -.
    Signature of the 09 :-2145124330 problem
    Signature of the problem 10: WUSA
    The system version: 6.0.6001.2.1.0.768.3
    Locale ID: 1033

    More information about the problem:
    LCID: 1033

    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409

    Error log:
    [06/23/12, 23: 57:04] Microsoft .NET Framework 2.0SP1 (CBS): [2] Failed to fetch of installation file in CBaseComponent::PreInstall()
    [06/23/12, 23: 57:04] setup.exe: ISetupComponent::Pre/Post/Install() [2] failed in ISetupManager::InternalInstallManager() with HRESULT-2147467260.
    [06/23/12, 23: 57:04] setup.exe: CSetupManager::RunInstallPhase() [2] - call to install/Pre/Post for InstallComponents failed
    [06/23/12, 23: 57:04] setup.exe: [2] CSetupManager::RunInstallPhaseAndCheckResults() - RunInstallPhase() returns a NULL piActionResults value
    [06/23/12, 23: 57:04] setup.exe: [2] CSetupManager::RunInstallFromList() - RunInstallPhaseAndCheckResults failed [2]
    [06/23/12, 23: 57:05] setup.exe: [2] ISetupManager::RunInstallLists (IP_PREINSTALL failed in ISetupManager::RunInstallFromThread()
    [06/23/12, 23: 57:05] setup.exe: ISetupManager::RunInstallFromThread() [2] failed in ISetupManager::RunInstall()
    [06/23/12, 23: 57:05] setup.exe: CSetupManager::Run() [2] - call to RunInstall() failed
    [06/23/12, 23: 57:05] WapUI: DepCheck [2] indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed.
    [06/23/12, 23: 57:05] WapUI: DepCheck [2] indicates Microsoft .NET Framework 3.0SP1 (CBS) was not attempted to be installed.
    [06/23/12, 23: 57:05] WapUI: DepCheck [2] indicates Microsoft .NET Framework 3.5 'package' was not attempted to be installed.
    [06/24/12, 00:23:55] Microsoft .NET Framework 2.0SP1 (CBS): [2] error: Installation for the Microsoft .NET Framework 2.0SP1 (CBS) component failure. MSI returned error-2145124330 code
    [06/24/12, 00:24:11] WapUI: DepCheck [2] indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed.

    In fact, I have recovery error CTOERROR.flg while installing windows dvd recovery discs and the fix - it asks to restart windows that if I do it asks me to reinstall windows bcz higher error.

    I am manually installingb through the planned introduction in the link that you shared... when I got the above error...

    Have you checked for hard drive failure?

    http://h10025.www1.HP.com/ewfrf/wc/document?LC=en&DLC=en&cc=us&DocName=bph05701&product=12455#N173

    Re: ctoerror.flg

    Incomplete recovery

    One solution was to remove all xxxx and repartition the hard disk

    http://h30434.www3.HP.com/T5/notebook-operating-systems-and/dv4-models-recovery-incomplete-failure-duplicable-problem/m-p/173139

    Order a DVD of Windows Vista SP2

    http://Windows.Microsoft.com/en-us/Windows-Vista/learn-how-to-install-Windows-Vista-Service-Pack-2-SP2

  • Dot Net framewrk unhandled exception - cannot anchor balloon

    During the connection, after a few minutes, a Dot Net framework exception occurs indicating that he cannot anchor a balloon to the place = 1215 X, Y = 913.  The window says click on continue and the attempt of wll application to ignore the error, click on exit, the application closes immediately.

    I would like to solve what is the cause, because it really seems to slow down the PC.

    Click details and look for the name of the application and remove with the Panel of control-> programs and offers "a programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • SURFACE-CANNOT INSTALL DOT NET FRAMEWORK 3.5

    I AM TRYING TO INSTALL DOT NET FRAMEWORK 3.5 FROM THE WINDOWS I PROPOSE KEEP 0X800F081F ERROR.  I TRIED EVERYTHING ONLINE, AND NOTHING WORKS.

    Hi Cheryl,

    For you help I would be grateful if you could answer the following questions:

    (1) have you made any changes to the computer before the show?

    (2) what measures you have profiled to solve the problem?

    There is an article in the Microsoft Knowledge Base, which provides methods to solve this problem. I suggest go you to the link to fix the problem.

    You have performed the steps in this article?

    If not, I suggest you to follow the steps in troubleshooting section and check,

    Error codes when you try to install the .NET Framework 3.5 in Windows 8 or Windows Server 2012

    http://support.Microsoft.com/kb/2734782

    You can also check this link for more information:

    Installation of .NET Framework 3.5 on Windows 8

    http://msdn.Microsoft.com/en-us/library/hh506443.aspx

    If you need help with Windows, please let us know we will be happy to help you.

  • Is the request failed in dot net (Foglight) applications

    Hi all

    -I can see column APPEARANCE with values "APPLICATION HONOR" in the dot NET request page (please see screenshots). I just wanted to know the reason. Appreciate a response, please let me know if this is a problem of configuration and what could be the resolution for this.

    Hello

    Looks like the problem is that "an insufficient number of arguments were provided for the procedure or function HCINMYSR_mkt.dbo.uf_Get_Target_Discount. Take a look in the HCINMYSR_mkt database for the code "uf_Get_Target_Discount". Seems to me that 5 parameters are passed to this - that is what she wants?

    Kind regards

    Darren

  • How to implement a graphical interface

    To implement my GUI, I did:
    public class Gui extends MyClass{
    Is this a good practice? MyClass is a controller that controls the machines. So I figure it makes sense to use inheritance because the GUI is also a controller for the same machines.

    But in the word GUI, 'I' means Interface. This means that a GUI must be an interface that is implemented by MyClass?

    What is the best practice or rule to follow?

    SquareBox wrote:
    To implement my GUI, I did:

    public class Gui extends MyClass{
    

    Is this a good practice? MyClass is a controller that controls the machines. So I figure it makes sense to use inheritance because the GUI is also a controller for the same machines.

    If you talk about 'Controller' as in the 'C' in 'MVC', then no, the user interface is not that. It is point of view. The only case in which the user interface should extend antyhing is if she extends a (proabably summary) class that defines some of the options view, and this particular interface is just a way of presenting, while, for example, some CommandLineInterface could be an another subclass that implements these features in a textual manner.

    You don't generally range from concrete classes, and if you do, it is only to provide behavior specialized on certain methods. As a general rule, [url http://www.google.com/search?q=prefer+composition+to+inheritance] prefer composition over inheritance.

    You certainly not inherit just to share the code.

    But in the word GUI, 'I' means Interface. This means that a GUI must be an interface that is implemented by MyClass?

    Yes and no. The "Interface" in "GUI" has nothing to do with the interfaces of the Java language itself. It is a 'user interface' - in other words, how your application interacts with the user. The term predates Java. However, it would not be of the never seen to set an interface that specifies the operations that is responsible for the user interface of your application. Note, however, that implements an interface is no different from one that extends an abstract class. In both cases, you provide concrete implementations for a set operation.

  • Get the canvas/screen of an object as a bitmap graphics? Help with post processing filter!

    Let's say I want to create an effect of post-processing, such as changing the pixels of the screen in a color a little more red (AFTER this drawing), or do a screen wavey distortion.

    I thought that my layout as follows:

    final class MyPaintScreen extends FullScreen{
        //
        //... stuff here
        //
        public void paint(Graphics g){
            //all kinds of draw commands here, then
            //the post processing method is called
            PostProcesser.modify(g);
        }
    
    }
    final class PostProcesser{
        final static void modify(Graphics g){
            //here lies the problem.
        }
    }
    

    Ideally, the modify method would use the Graphics object as a parameter, and it would get her a bitmap or an array of bytes/int with the data drawn. Then she do all that the pixel values and then crush them to the Graphics object. Or maybe it would do all this without copying it in a bitmap/picture and just edit a graphic field directly.

    I thought that it would be a way to get an article / a region which was drawn (I want my post method only affect an area of the screen), but there is no method to return the screen stretched somehow, it seems. There is no Bitmap field in class Graphics to mess with. No table with the pixel values. No getBitmap/getRegion method.

    After thinking long and hard, I thought to use a sort of buffer to the screen. Have a Bitmap of the size of the screen and instead draw things on the screen, draw them on the Bitmap object, and then apply the post treatment methods he and then draws the Bitmap over together on the Graphics object... but it seems so memory intensive. Moreover, I have to use the thingies setARGB awful and messy the bitmap instead of the methods of the Graphics class Drawing.

    Any advice on that? Comments? Help? Suggestions?

    Just to confirm the approach of the buffer, you can create a bitmap image in the desired size, create a Graphics using the bitmap object, and then you can call 'paint' provide your own Bitmap, rather than the image of the screen image.

    You can also get it current graph of the screen using . getGraphics().

    Not sure this helps.  Good luck.

  • net view \\addressIPserver fails with error 53

    Computer, net view \\addressIPserver fails with error 53, while it works from b
    If I restart the server, then it works.
    -online what command can I enter to make it work again, without having to restart the server?

    Server, computer, b are all seven windows

    ipconfig/all shows that Netbios over tcp/ip is enabled

    Hello

    Find computers on a domain network?
    If the computers are on a domain network, the question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.
  • framework DOT NET 4.0 does not install

    For a while now, I tried to install .NET framework 4.0 without success. I tried with the beta and tried the final version. I get an error message saying that one of the files is on a resource that is not available and it still refers to the beta when I try to install the final version. Here is the error log:

    OS = 6.1.7600 version, platform 2
    Description of the OS = Windows 7 - x 86
    CommandLine = C:\e122c306d75ef71e1e98\\Setup.exe (null) / x 86/x 64
    Zone = daylight saving time
    Initial LCID = 4105
    The simultaneous use of download and install mechanism
    Operation: installation
    Package Name = installation of the Microsoft .NET Framework 4
    Package Version = 4.0.30319
    User experience data collection policy: AlwaysUploaded
    Number of applicable items: 11
    Exe (C:\e122c306d75ef71e1e98\SetupUtility.exe) succeeded.
    Exe log file: dd_SetupUtility.txt
    ServiceControl successful operation!
    Failure of the exe (C:\e122c306d75ef71e1e98\Windows6.1-KB958488-v6001-x86.msu) with 0 x 240006 - (null).
    Exe (C:\e122c306d75ef71e1e98\SetupUtility.exe) succeeded.
    Exe log file: dd_SetupUtility.txt
    Failed the Installation MSI (C:\e122c306d75ef71e1e98\netfx_Core_x86.msi). MSI log: Microsoft .NET Framework 4 Setup_20100929_105750659 - MSI_netfx_Core_x86.msi.txt

    End result: the Installation failed with error code: (0 x 80070643), "Fatal error during installation." (Time: 0 00:16:06).

    I tried various fixes, I found on the web, including the .NET cleanup tool, now I have problems with .NET 3.5 that I had installed, but now I can't find on my pc and when I try to reinstall I get the same problem. Any help is very appreciated. Thank you.

    Hi Maddie,

    you are using an earlier version of the .net Framework 4.0 (C:\WINDOWS\Microsoft.NET\Framework\v4.0.21006 ------). Setup is unable to remove the version of the Framework:

    Product: Microsoft .NET Framework Client Profile 4 - error 1714. The old version of Microsoft .NET Framework 4 Client Profile can not be deleted .  Contact your technical support group.  SystemError 1612 .

    Error 1612 means that msi the old Setup files cannot be found.

    try to remove the old .net Framework 4.0 with the .NET Framework Cleanup Tool (http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx ). Now the tr to install .net Framework 4.0 (v4.0.30319) again.

    If this does not work, wait for a response from Merrie McGaw .

    Best regards
    André

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • How to install dot net framework 3.5 without an internet connection in Windows 8 Professional 64-bit

    Please help I am having the problem to install dot net framework 3.5 in my PC. I do not have a fast internet connection s I can't download it from the internet. Please help me by using DISM was also flop because it showed me that an error always comes after 68.5% completion...

    Please help me I have a lot of problems because many things are not working due to net framework 3.5...

    .NET framework is already included in Windows 8.

    Enable (turn on or off features) Windows 8 Net Framework 3.5 (included .NET 2.0 and 3.0)

    http://blogs.technet.com/b/Aviraj/archive/2012/08/04/Windows-8-enable-NET-Framework-3-5-includes-NET-2-0-and-3-0-i-e-NetFx3-feature-in-online-amp-offline-mode.aspx

    J W Stuart: http://www.pagestart.com

  • Using dot net 3.5 in windows 8 pro

    How can I use dot net 3.5 in windows 8 pro please suggest

    See:

    How to install .NET Framework 3.5 in Windows 8 or 8.1?

Maybe you are looking for