Undecorated Windows under Java 1.3

Does someone knows if it's possible to create an undecorated window (without Title bar, buttons and borders) with SDK 1.3, using Swing ?
Thanks.

You can use JWindow... but you then have to implement
everything on your own. Dragging, etc.Using JWindow raises me another problem :
Inside the JWindow I use a JTextField. When this JTextField loses the focus (clicking out him), it's not possible to recover it.
Do you know a solution for that ?
Thank you.

Similar Messages

  • How can I output text in a browser window in JAVA?

    How can I output text in a browser window in JAVA?

    "response.getWriter().print()" is the most common method when using servlets

  • Windows 2003: JAVA does not recognize 8 GB, Why?

    Hello Folks,
    We have a windows 2003 (32 bit) HP server with quad processor with 8 gb ram. we were creating multiple java app servers with 1024MB heap on each server. We were able to create three java servers and fourth one is giving error message saying that there is not enough memory even though there is 8GB of physical memory. We did set the /PAE option. Java version 1.4.2_08.
    What is the maximum memory that JAVA would recognize? (I am not talking about heap memory)
    Are there any windows or JAVA setting that I have to do to make all the 8 GB memory recognized by the JAVA?
    Thanks
    Steve

    Don't use the /3GB switch you'll start getting in to trouble with memory performance and blue screens. Unless you have a specific need that the /3GB solves for you don't go for the general opinion that the /3GB together with Enterprise will solve your problems. It doesn't realy give you more memory, Microsoft together with Intel / AMD are just doing fancy foot work with the memory. Applicatoins like MS SQL and other sepcific apps. can benifit using this /3GB but most apps won't benefit. And even if your server don't blue screen you can still only utilize 3 GB of memory to an app isntead of 2 GB memory and your machine will suffer on other parts. Since your pushing memory from the OS up to the apps the OS will have less place and will run out of memory faster and will get more instable. My recommendation would be to go for W2K3 x64 version.
    /Fredrik

  • DVD optical drive no longer works with Windows under bootcamp or parallels

    For some strange reason, the DVD optical drive- Optiarc 5680 on my 27" iMac, no longer works anymore with Windows under Parallels or Bootcamp. It used to work perfectly fine before, but now it just shows up with a yellow exclamation mark under Device Manager and Code 39 "Windows cannot load the device driver..."
    The DVD drive continues to still work fine with OSX. But it won't work anymore under Windows via Parallels or bootcamp, despite trying to uninstall the optical device drivers, update, reinstall, etc. Anybody else experiencing this or have any ideas?

    Finally found the solution for anybody else who runs into this problem. It was solved by doing a registry mod in Windows from this site:
    http://aumha.org/win5/a/xpcd.php#problems
    described in “My CD drives have vanished (from Explorer, Device Manager, etc.)”
    After applying the registry changes the DVD optical drive worked instantly again with Windows....sigh...guess I can't blame the Mac on this one.

  • How to access a file in Unix server from windows using java

    I want to access a file in unix server from windows using java program.
    I have the following code. I am able to open the url in a web browser.
    String urlStr="ftp:user:passwd@unix-server:ftp-port//javatest/test.csv;type=i";
    URL url = new URL(urlStr);
    BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream)));
    String inputLine;
    while((inputLine=in.readLine()))!=null){
    System.out.println(inputLine);
    in.close();
    I get the following error
    java.io.FileNotFoundException: /javatest/test.csv
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:333)
    at java.net.URL.openStream(URL.java:960)
    at com.test.samples.Test.main(Test.java:45)

    urlStr="ftp:user:passwd@unix-server:ftp-port//javatest/test.csv;type=i";
    I have given the format of the urlStr that I am using in the code. The actiual values are used in my code. I have tried pasting this url in the browser and it opens the file.

  • Connect macbook pro and imacac shows up in the finder window under shared b

    I have turned on file sharing on both. My imac shows up in the finder window under shared but the macbook won't connect. Is there something else i need to do?

    Same problem. Let me know if you find anything please. Thanks.

  • Getting the name of the window under the mouse cursor

    Hello All
    Is there a way to receive a window name of the window under the mouse cursor? All windows in interest are LV windows, and all of them works separatelly. After the mouse click I would like to get the window name.
    The reaso nfor asking is that I have a sequence of setting of different windows. I need to create a doccumentation and I need all windows front panels send to MS Word.
    I thought that my application can read the window names and by using the LVwutil32 get the front pannels of the windows and send them to MS Word.
    Problem is that in the library I do not have a function like "Window on Top.vi" or something like that.
    Anyways, the problem for me now is how to get an active (most top) window
    name?
    thanks
    Pawel

    Hi Pawel,
    I found the following VI in my "trunk" that I made a while ago (written in LV6.0.2). It returns the active VI (and thereby) the Window name. Mayby you have some use of it, but I believe this is what you want. Only works for Windows though.
    Regards,
    Mattias Ericsson
    Endevo, Sweden
    Attachments:
    WindowsUtil_GetActiveVIWindowName.vi ‏54 KB

  • Help tracking down a file descriptor leak under java 6

    I have a large application I work on that runs fine under java5 (apart from possibly the latest update) but running under java 6 results in file descriptors used for TCP sockets being leaked.
    I'm testing this under FreeBSD 6 (both i386 and amd64) using diablo JDK and a port build jdk-1.6.0.3p3 but I have had reports from other users of exactly the same issue under various linux distributions. There are some reports that going back as far as 1.6.0b5 will resolve the issue but no later version works and a few reports that the latest 1.5 updates have the same issue.
    This application is using standard IO so Socket/ServerSocket and occasionally SSLSocket, no NIO is involved. Under the problem JDKs it will run for a while before available FDs are exhausted and then fall over with a "too many open files" exception. So far I have been unable to recreate the situation in a simple testcase and the fact it works fine under earlier JDKs is really causing me issues with deciding where to look for the issue.
    Using lsof to watch the FDs that are leaked I see a steadily increasing number shown in the following state:
    java 23438 djb 54u IPv4 0xffffff0091ad02f8 0t0 TCP *:* (CLOSED)
    java 23438 djb 55u IPv4 0xffffff0105aa45f0 0t0 TCP *:* (CLOSED)
    java 23438 djb 56u IPv4 0xffffff01260c15f0 0t0 TCP *:* (CLOSED)
    java 23438 djb 57u IPv4 0xffffff012a2ae8e8 0t0 TCP *:* (CLOSED)
    If these were showing as say (CLOSE_WAIT) then I would understand where they are coming from but as far as I understand the above means the socket has been fully closed but the FD simply hasn't been released. I'm not an expert on the TCP protocol however so I may be wrong here.
    I did try making the application set SoLinger(0,true) on all sockets which of course made all connecting clients think the connection was aborted rather than gracefully closed but even with this setting the FD leak persisted.
    I've gone as far as looking at what I think are the relevant parts of the src for both JDK versions I am using but there are very few changes and nothing that obviously looks linked.
    I'm fully prepared to spend a lot of time looking into this and I'm sure I'd eventually find the cause but if anyone here already knows what the answer may be or can simply give me a nudge in the best direction to look I would be very grateful.

    After weeks of dancing around the issue for weeks, we narrowed it down to garbage collection. If we put System.gc() to run periodically , file descriptors get garbage collected properly . I've tried playing with the settings by using XX:+UseConcMarkSweepGC which seems to help a great deal while system is under stress. However when there is light activity.. the file descriptors grow again and eventually bring everything down.
    Any clues ? is there any way to make gc to perform full collection more often ?
    pls whelp !!!

  • Resolve trouble between Parallels and Windows under Boot Camp

    After seeing several threads relating to this issue, I decided to make this it's own thread instead of trying to reply to each. hopkinsvscloudlivestream.blogspot.com/2013/03/watch-hopkins-vs-cloud-live-stream-2013.html This article NOW resolves all issues pertaining to using Windows under Boot Camp through Parallels, INCLUDING activation. Hopefully Parallels will be able to integrate these fixes into a future release.
    Before doing anything, I would recommend preparing your existing Windows installation under Boot Camp, for Parallels, before trying to access it through Parallels. If you have already installed Parallels and now have problems, don't worry, this article should address and resolve these issues as well.
    Something to know upfront: using your existing Boot Camp installation with Parallels will most likely require you to activate your Windows installation a second time. The reasons for this are addressed in Section 4 of this article.
    Section 1: Preparing your Boot Camp Installation for Parallels
    (If you already tried to access your Boot Camp installation through Parallels, and can no longer get into Windows through Boot Camp or Parallels, please skip this step and come back to it after you have completed Section 2.)

    Personally, I think the software fix is a band-aid for a larger hardware problem, probably involving the power management circuitry. I think the reason Photo Booth and QuietMBP and Windows XP all work to silence the noise is because they draw more power by using more CPU, and it's the extra power draw that kills the noise. Nothing scientific, mind you, just a hunch.
    What if your speakers made an annoying hum that went away whenever you started playing music through them in iTunes? Would you still think it's a software problem? I think it's a similar situation here - where software can cover up the issue but not really fix it...

  • Where does time machine store content that would be found in the Finder window under "All Images, All Movies, All Documents"? Also, I have many Garageband projects and mp3 files I can't find.

    Where does time machine store content that would be found in the Finder window under "All Images, All Movies, All Documents"? Also, I have many Garageband projects and mp3 files I can't find.

    Easiest way to find time machine files is to open up the folder or application(works for email and iphoto)  they were in - then click on time machine ICON or enter time machine from the time machine menu to go back through the files.

  • How to trace changes in directories and files in windows using java.

    Hi,
    Want to know how to trace changes in directories and files in windows using java.
    I need to create a java procedure that keeps track of any changes done in any directory and its files on a windows System and save this data.
    Edited by: shruti.ggn on Mar 20, 2009 1:56 AM

    chk out the bellow list,get the xml and make the procedure.....     
         Notes          
    1     Some of the similar software’s include HoneyBow, honeytrap, honeyC, captureHPC, honeymole, captureBAT, nepenthes.     
    2     Some of the other hacking software’s include keyloggers. Keyloggers are used for monitoring the keystrokes typed by the user so that we can get the info or passwords one is typing. Some of the keyloggers include remote monitoring capability, it means that we can send the remote file across the network to someone else and then we can monitor the key strokes of that remote pc. Some of the famous keyloggers include win-spy, real-spy, family keylogger and stealth spy.          
    3     Apart from theses tools mentioned above there are some more tools to include that are deepfreeze, Elcomsoft password cracking tools, Online DFS, StegAlyzer, Log analysis tools such as sawmill, etc.

  • Finding Window's java program path in LabVIEW

    I'm writing some software that depends on various java files being installed correctly into the lib/ext folders and bin folders of the current version of the java runtime installed.  I'd like to be able to check if these files are in place and give an appropriate error message in my LabVIEW code if they are not.  However, the path to these folders may be different on different machines depending on the the version of java installed and the version of windows used (e.g. C:\Program Files (x86)\Java\jre7   vs.  C:\Program Files\Java\jre6).  I'm using the 32 bit version of LabVIEW and the System Exec.vi to make all my calls to java.  Does anyone know of a way directly from LabVIEW or a command in Windows I could use from System Exec.vi to find these paths?  Thank you.
    Solved!
    Go to Solution.

    GollumGTH wrote:
    Yea, this is what I was finding after much googling and playing around...
    So I just have to do the windows command java -version, parse the results for the current java version, use that info to generate a query for the reg command and then parse those results... what could possibly go wrong... 
    There's functions for accessing the registry in Connectivity -> Windows Registry Access
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Running programs WINDOWS using java

    Hi ,
    I would appreciate if anyone could tell me how to run programs WINDOWS using JAVA language .Thank you.

    I am not quite sure what you mean by that, but if you want to execute a program use:
    Runtime.exec(String)

  • For save applet window in java

    In my project i want to save applet window.
    So please tell me how can i save and open applet window in java.
    If possible than also send the source code to save applet window.
    Thanx

    in Java 6u10 it works?
    I guess it's similar. My applet calls showDocument(), but it is only passing a URL with query string parameters which the page called reads (via Javascript) and uses JS to call window.open() with the contents based on those parameters. I don't have access to the system to change the way the web works. The team that does has looked into it, and said they do make the tofront call in JS to push the browser window up. But it won't go up all the way, only above other browser windows, and not the applet window (which is a JFrame). Then the OS (windows in this case) starts blinking the taskbar button for the popup window for attention, but that's not helpful.
    The only common factor in the reports were that it's Java 6u10 or higher. XP, Vista, FF, IE, all had the problem with 6u10+. And knowing how Sun changed the plug-in architecture, it actually makes some sense as to why this happens. However, this seems to be something that there is no way to fix short of Sun doing something. Or as mentioned, minimize my window just to let others show up, which is going to be annoying as a user to have to restore the window to go back.

  • Opening a word file in MS Office Word software window through Java code

    I want to open a word file in MS Office Word software window through Java code.
    Is it possible ? If possible then please let me now how can I do it.
    Bhoopender

    Thanks for replying.
    I tried the following code -
    public class OpenFileWithItsExt
         public static void main(String[] args) throws java.io.IOException
              Runtime.getRuntime().exec("a.doc");
    and it gets compiled successfully, but on running outputs as -
    Exception in thread "main" java.io.IOException: CreateProcess: a.doc error=193
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:428)
    at java.lang.Runtime.exec(Runtime.java:364)
    at java.lang.Runtime.exec(Runtime.java:326)
    at OpenFileWithItsExt.main(OpenFileWithItsExt.java:5)
    My file is in the pesent working directoty.
    Please solve my problem.
    Thanks

Maybe you are looking for

  • Outlook 2013 set cached mode "Mail to keep offline" to All for existing Outlook profiles via GPO or registry changes

    We recently migrated from Office 2010 to Office 2013.  An annoying change is Outlook's "Use Cached Exchange Mode" setting that changes the previous setting of all email to partial email based on how old emails are.  This is confusing for end users be

  • I want to learn JDE

    Hi I began to study JD Edwards EnterpriseOne by examples from JD Edwards Best Practice Center http://www.oracle.com/technetwork/middleware/fmw4apps/jde/index-088030.html I have installed VM image with JD Edwards EnterpriseOne 9.0 Standalone Client SS

  • ADJUSTING MAXIMUM PIXEL WIDTH

    I would sure like to use Lightroom for Panoramas. If there is any way that the maximum limit could be based on file size rather than the number of pixels along one side, it would be very helpful

  • Mountain Lion update crashing my "Apple Mail"

    I just yesterday updated my relatively new MacBook Pro I have owned for 7-months from Lion to Mountain Lion. In the last 24-hours, my Apple Mail has crashed after installing Mountain Lion. Clearly, we have a serious bug in the Mountain Lion. I have s

  • Connection from ONE VM to multiple X-displays?

    Hallo, is it possible to display AWT/Swing components on multiple X11 displays (not screens) from ONE virtual machine? Each display has its own name/ip-address. Thanx