About JEdit Syntax Package

Dear All,
I am new to Java.
I downloaded the JEdit Syntax Package at http://syntax.jedit.org/ for highlighting XML string in my application.
However, when I compile the program, it said that the package contains some deprecated functions:
Component.isManagingFocus() and ToolKit.getFontMetrics()
The package has 51 files and difficult to change all.
Could anyone gave me ideas on how to solve the problem.
Regards,
Chen WIng Yen

You can still use classes with deprecated methods.

Similar Messages

  • Can any body brief me about  this syntax  given below

    I have doubt of using this command on Production server... How best is this.. Can anybody brief me about this syntax.. what exactly this command do...
    $ tar -cvfX - /tmp/exclude *. |* compress -c - > ../archive/file name
    Here i know about "tar -cvfX" but symbols which are highlited i dont have much idea about this.
    Will somebody will help me out in this.

    timevans wrote:
    tar -cvfX - /tmp/exclude . | compress -c - > ../archive/file name
    Using the tar utility, archive the current directory, skipping the files listed in the /tmp/exclude file and send it to standard output. Pipe the standard output to the compress utility store the resulting output in the parent directory of the current one in the file named "filename"Hi Timevans,
    But my question is what are those symbols stands for in the syntax
    i.e
    1. an hyphen* after tar -cvfX -
    2. an pullstop* after /tmp/exclude .
    3. an " *_hyphen"_* after compress -c
    4. an *"_redirection"_* after hyphen after compress -c

  • Questions about the 'filesystem' package

    After reading some recent threads and bug reports about the 'filesystem' package, I have the following questions:
    1. What is the reason for adding systemd-related users and groups to this package? Why not add them using the install script in the systemd package?
    2. Why ship /etc/{shadow,gshadow} files at all? Why not create and manage them by `pwconv`, `grpconv` and such (perhaps by an install script in the shadow package)?
    Last edited by ackalker (2014-06-27 17:12:52)

    I didn't mean the dev ML, arch-general will do just fine. arch-dev-public is read-only fro non-devs and non-TUs.

  • Need help about classpath and packages

    I am new to jAVA and trying to learn packages.I wrote a java programme called AccountBalance.java with package MyPack;
    I set the classpath as C:\java programs\MyPack.
    My java program was compile fine BUT classes were not creating in MyPack folder.
    Cananyone suggest how java programs create the classes in ClassPath specified folder automatically.
    Thanks

    Here you want to create your class file in a separate package.
    Actually the creation of class will happen at the time of compilation.
    So you have to take care about it at the time of compilation.
    try this one to compile your source file:
    javac <java source file name> -d <targetplace>
    the java source file name is your source file name and -d is switch that is used to create the package(directory) and the target place is the location where you want to create your package. if you want to create your package in the current directory then you can simply give
    javac <java source file name> -d .
    try this one all the best. if it's not working then reply me so that i can check myself and try to find another solution for that.
    thank you
    bye

  • A question about CLASSPATH and Package

    The configuration of my computer is:
    Windows98, C:\j2sdk1.4.0
    Which in Autoexec.bat are included like this:
    path=C:\j2sdk1.4.0\bin
    set CLASSPATH=C:\j2sdk1.4.0\lib
    Then I make a new directory named t in C:\j2sdk1.4.0\lib, where there is a compiled file a.class, source code is:
    package t;
    public class a
    And another java file was in D:\t, named b.java, code like this:
    import t.*;
    class b extends a
    public static void main( String[] args )
    System.out.println("OK");
    Then I compiled like this: javac b.java, it was wrong; but when I compiled like this: javac -CLASSPATH C:\j2sdk1.4.0\lib b.java, It was OK!!! Why?? And then when I execute like this: java b, an error message was prompted(Can not find class t/a)!!! How can I do?

    First one general comment: I would not advise putting your own classes into C:\j2sdk1.4.0\lib since this suggests that the classes under this directory belong to the Java distribution. So my advice: create your own directory somewhere like D:\user\Classes or whatever.
    The directory (-ies) you specify in CLASSPATH are root entries telling the JVM where to start looking for classes. Why root entries? Well, the package structure is reflected in the directory structure relative to these roots. So a class of package t belongs into the subdirectory t of one of the directories specified in your CLASSPATH. This would be the case of your class a - by the way, the convention says that class names are capitalized. Since class b, on the other hand, is not in any package, it belongs irirectly into one of the directories of your CLASSPATH.
    Whereas the compiler is fairly forgiving about the location of your source files, the JVM is not. Invoking a class of some package requires you to provide the fully-qualified name to the java command. So if you wanted to run class a, you would have to invoke "java t.a". Starting class b, simply requires a call of "java b". But make sure the class file of class a is located in the subdirectory t of one of the directories specified in your CLASSPATH.

  • How does Jbuilder store information about user created packages

    Hi ,
    I am new to Jbuilder . I am trying to create a hierarchy of classes, eg:- com.test.first.servlet.abc.java . How do i add this hierarchy to the Jbuilder project. I have manually tried creating folders using New Folder feature, i guess thats not the way its supposed to be done.
    I also opened the .jpx with a wordpad , to see what kinda xml tag is being used to create a package of classes. There is no information about that at all. Right now i am copying a .jpx file, i got from god knows where & editing that for my present project.
    Any suggestions as to whats the right way of creating one !!?
    Thanx b4 hand,
    Maddy

    If you're trying to add an existing java projects source files to a jbuilder project then select the Project Properties dialog from the Project menu. Navigate to the Source tab and add the directory that contains the new source files.
    Dave

  • Confusion about a few packages marked explicitly vs dependency install

    This is just _one_ example of what i'm asking about;
    On my machine, "binutils"  is installed because it's a dependency on another package, and "attr" is apparently explicitly installed.
    Both belong to the "base" package group and since i have "base" (who doesn't) installed, why do the install reasons differ?
    I mean, if i install "base" shouldn't every package in base be marked as explicitly installed?
    Last edited by pelle.k (2008-05-25 17:05:13)

    pelle.k wrote:I mean, if i install "base" shouldn't every package in base be marked as explicitly installed?
    Yes if you do pacman -S base the first time. But usually you don't do that, you just use the iso, so it depends on what list of packages the iso explicitly installs.

  • About ESS & MSS Packages

    Hi,
    I am new to EP in our trainning schedule we are going with ESS & MSS business packages.Can anyone explain me about these packages and about HomePage Framework in detail and any material regarding ESS&MSS aswell as, HomePage Framework and how important these things in real time.
                           Please help me!!!!!!!!
    Thank you,
    Rahul

    Hi Rahul
    Please check this :
    [http://wiki.sdn.sap.com/wiki/display/ERPHCM/HCMESS|http://wiki.sdn.sap.com/wiki/display/ERPHCM/HCMESS]
    [http://wiki.sdn.sap.com/wiki/display/ERPHCM/HCMMSS|http://wiki.sdn.sap.com/wiki/display/ERPHCM/HCMMSS]
    ESS and MSS Role u2013 [A Step by Step SPRO Configuration Document|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e05d564f-6e1c-2d10-42b2-9e21a211950d]
    Look for articles/blogs/elearnig for more detials.
    Best Regards
    Arun Jaiswal

  • About Cocos2D-X package

    Cocos2D-X is popular, why not add a cocos2dx package to Archlinux Packages.
    Expect!!!

    Trilby wrote:
    With that download link, a PKGBUILD would be trivial to make.  But this will not build on arch as is.  Either you'd need to have an older version of glfw (from aur) or wait for cocos2dx to be updated for glfw3 - or you could try patching it yourself.  It doesn't seem like there'd be too many changes needed, but there will be a few.
    The one challenge of using a cutting edge distro - lots of tools are made to compile against older libs.
    EDIT: for clarification this is no criticism of cocos2dx.  The flgw update was just 4 days ago.  We just happened to get it in our repos about 3.9 days ago.  One could hope if cocos2dx is in active development, the changes may arrive there shortly.  On the flip side, if most of their users are not even seeing the gflw update until the next major release of their OS, then the cocos team may not prioritize this revision.  Given there "install-deps.sh" script for "linux", they seem to be targetting Debian based distros quiet specifically.
    You are right!
    I just can not found "GL/glfw.h" header when I compile the cocos2dx source.
    And the shell script only support Ubuntu.

  • Statistics about used/unused packages

    Hello Arch forum,
    I want a program that analyzes statistically the usage of the installed packages.
    I don't want to measure the usage of plain files or libraries, so it will count packages installed manually (not dependencies) and that contain binary/executable files.
    The reason I want to do that, is to be able to manage the monster I created. I use my desktop to test a lot of my insane ideas and the packages just sit there with the idea of "I'll finish this project later". And of course I forget about them...
    I don't even know how to google that, so sorry if this is double post (please close the thread if this has been answered on another topic).

    @Tribly: I don't think that state will be such a problem...
    And as stated, I want suggestions, I don't mind if it's not accurate!
    Here is the function:
    oldpackages() {
    for pkg in $(pacman -Qqet); do
    [[ -z "$(pacman -Qi $pkg | grep "Groups *: base")" ]] && \
    [[ -n "$(find $(pacman -Ql $pkg | grep bin | awk '{print $2}' | grep -v '^/.*/$') -type f -executable -atime +$1)" ]] && \
    echo $pkg
    done
    usage: oldpackages <more than n days old>
    Thank you very much guys!

  • [SOLVED] Question about Saving Cached Packages

    Hey Guys,
    I've got a couple of systems running Arch right now, and have a 3rd that I was thinking about setting up this weekend. The second of the 2 I already have is very recent and I haven't cleared out the package cache yet. If I were planning on installing the same applications on the next system, could I just save the package files in /var/cache/pacman to a CD or something and just copy them back to the new system once I have the CORE installed? I figure this would save an hour or so of downloading, which would be nice. If it is possible, is there anything else I need to have aside from the packages themselves (ie. is there like a header file somewhere)?
    Thanks!
    Swill
    Last edited by Mr. Swillis (2008-11-21 06:01:15)

    Well - it could work - or it might not. Better solution is to make another repository using your recent packages.
    Try to write this to your /etc/pacman.conf:
    [name_of_your_own_repo]
    Include = /path_to_your_own_repo
    I haven't tried it personally, but it should work. If it will prefer packages from other repos (community, extra), then write it somewhere above other repos in /etc/pacman.conf or use pacman -S name_of_your_own_repo/package
    You should read about Pacman at Arch-wiki to know more about making your own repository before you will decide to try it.
    Either way, write your experience here, please, I'd want to know if it works or not
    Last edited by cybermage (2008-11-20 20:19:41)

  • Question about Flash iPhone packager

    So since Apple now allows it, Adobe picked up development for it again I heard. My question is, additionally to the possibility of creating iPhone apps from scratch I heard there is a packager that allows you to wrap up Actionscript 3 projects as an iPhone app. I didn't get too many infos about it on google since its mostly the same kind of news turning up.
    Can you use a previously made Actionscript 3 game or do you have to start a new one and make it with the iPhone in mind? If you can use a previously made project how do you customize it for the touch controls? Does the packager change it into a file useable in Flash again to add these features? I'm totally clueless about the possibilities and it would be great if someone could tell me.
    Is it really that I can make an already made as3 game iPhone compatible as long as I have an Apple developer subscription? Or is it limited to simple apps?
    Would love for someone to elaborate this. Thanks

    http://help.adobe.com/en_US/as3/mobile/flashplatform_optimizing_content.pdf
    http://download.macromedia.com/pub/labs/packagerforiphone/packagerforiphone_devguide.pdf
    http://forums.adobe.com/community/labs/packagerforiphone?view=discussions&start=0
    http://floatlearning.com/2010/10/key-differences-in-air-for-android-and-ios/

  • Question about [org.openide] Package

    Hi all,
    I want to add to my GUI a popup ColorPicker
    I found an example that imports org.openide.windows.WindowManager
    , but NetBeans 5 that I am using shown to
    me that org.openide.windows package
    does not exist.
    What I should to solve this problem?
    if you have another examples about
    popup color picker could you show
    me that?
    Thanks.

    The example that I have mentioned located in the follwoing address:
    http://www.netbeans.org/kb/articles/desktopsampler/DesktopSamplerToolbar.html
    And
    I prefer the popup color picker rather than using JColorChooser, You can see here JColorChooser gives you a lots of tools. I just need from
    user to select a specific color from the color picker and the JTextField
    value will be changed according to the selection.
    So, I need first to fix the import org.openide.windows package first.

  • About send TCP package to other server program with the ABAP

    I have a server program, it receipt the tcp data package,then process,then return the result with tcp package.
    the data come from the sap system.
    for example, the material master record.
    I can use the abap to get the data,but i have no idea to send the data to server progam and receipt the result.
    How to do it? Who can help me.Thanks a lot.
    Best regards.
    LnSinco.

    > As an experiment, I tried going the other way. That it, I started up the
    > Simple Data Server VI on the Windows PC. I then "pointed" my SGI client at
    > the server on the PC. It works, ... sort of. I am getting an
    > appropriately sized list of numbers displayed on the SGI host, but while
    > most look like floating point values, some look like VERY large integers.
    >
    > I believe I have a data representation problem. That is, I don't know if I
    > should expect to send (server-side) or see (client-side) C programming
    > variables of type 4-byte floats, 8 byte doubles, or something else. Also, I
    > am not certain how many values I should expect to send/see in each message.
    > I think the default for the Simple Data Client/Server programs is 200
    > points
    , but I am not sure what that really means, either.
    >
    By default, LV converts all of the datatypes to be in big endian form.
    I'm not sure about your SGI, but if it is a little endian machine, then
    that will cause problems. If that is the case, you will want to swap
    the words and bytes of the four byte values.
    To debug this more easily, you might just make sure you send over very
    predictable data such as 0, 1, 2, 3, etc. Lots of times these are
    tested with random data, but that makes it pretty hard to see a pattern
    when the data is wrong.
    Greg McKaskle

  • WHAT IS UNIQUE ABOUT IPHONE 4S PACKAGING AND LABELING?

    I want to know what is unique about the iphone 4s packaging and labeling?

    Uh...there's a shiny S on the box?
    :3

Maybe you are looking for

  • XSQL error when trying to insert record

    hi, I encounter a problem using INSERT statement in xsql:query action. If I try to use INSERT statement in my xsql page like this: <xsql:ze_action bean="TaskentryIn"> <xsql:query> INSERT Grundtab( Datum,Startzeit,Endzeit) VALUES ('{@date}',{'@begin}'

  • ITunes Won't Quit And Appears Corrupted

    When I quit itunes it restarts again with the dot under the itunes logo but the iTunes window doesn't open until I click the icon on the dock.  Also in the middle of the size value in the size column the value starts with a number then in place of a

  • Delete DML statment tales more time than Update or Insert.

    i want to know whether a delete statement takes more time than an update or insert DML command. Please help in solving the doubt. Regards.

  • Base64 and dbms_output problem

    Hello, I'm trying to write a function that generate HTML content for sending inside a mail. This HTML content needs to have some picture inside it. To do so I'm using some conversion function from blob to base 64 encoding. To be sure that my function

  • Default Subinventory/Locator for item during Shipping Transaction-Any API

    Hi, If we need to define a Default subinventory or locator for an item during Shipping Transanction, we are setting it up from Application as follows: Inventory --> Setup --> Item Transaction Defaults window Can we define the same setup using any und