Displaying and Moving Characters in Maze

Right now, i am tryin to get keyListener to work. But how do I go about creating the character that appears in the maze. And how do i make the character move according to the path and so that it does not walk through the walls?
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
class MazeS extends JFrame implements KeyListener
static int board[][] = {
{1,1,1,1,1,1},
{0,0,1,1,1,1},
{1,0,1,1,1,1},
{1,0,0,0,0,1},
{1,0,1,1,1,1},
{1,0,1,1,1,1},
{1,0,1,1,1,1},
Rectangle rect = new Rectangle();
Maze maze;
private JPanel panMaze, panSouth;
private JTextArea txtChat;
private JTextField txtInput;
private Image image;
public MazeS()
     this.addKeyListener(this); // This class has its own key listeners.
this.setFocusable(true);
// don't do this, at least until you know how
// to avoid having to..
// setSize(700,520);
maze = new Maze();
panMaze = new JPanel();
panMaze.add(maze);
// gamble that the default layout of this container
// is a border layout.
getContentPane().add(panMaze, BorderLayout.WEST);
panSouth = new JPanel();
          panSouth = new JPanel(new BorderLayout());
               txtChat = new JTextArea(10, 20);
               txtInput = new JTextField();
txtChat.setLineWrap(true);
txtChat.setEditable(false);
txtChat.setForeground(Color.blue);
JScrollPane txtChatPane = new JScrollPane(txtChat,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
txtInput.setEnabled(true);
panSouth.add(txtInput, BorderLayout.SOUTH);
panSouth.add(txtChatPane, BorderLayout.CENTER);
panSouth.setPreferredSize(new Dimension(200, 200));
getContentPane().add(panSouth, BorderLayout.SOUTH);
//picture
String image1 = "smiley.jpg";
image = Toolkit.getDefaultToolkit().getImage(image1);
pack();
setLocationRelativeTo(null);
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
class Maze extends JPanel
int cellSize = 30;
int pad = 5;
Maze() {
setPreferredSize( new Dimension(
(6*cellSize)+(2*pad),
(7*cellSize)+(2*pad)
public void paintComponent(Graphics g)
super.paintComponent(g);
g.drawRect(4,4,6*cellSize,7*cellSize);
g.setColor(Color.pink);
for (int y=0; y < 7; y++)
for (int x=0; x < 6; x++)
if (board[y][x] == 1) g.setColor(Color.pink);
if (board[y][x] == 0) g.setColor(getBackground());
g.fillRect(x*cellSize+5,y*cellSize+5,29,29);
g.setColor(Color.black);
public void paint(Graphics h){
     super.paint(h);
     h.drawImage(image, 150, 150, this);
public void keyPressed(KeyEvent e){
     if(e.getKeyCode() == KeyEvent.VK_LEFT){
     txtChat.setText("k");
               if (e.getKeyCode() == KeyEvent.VK_UP){
                    if (e.getKeyCode() == KeyEvent.VK_RIGHT){
                         if (e.getKeyCode() == KeyEvent.VK_DOWN){
     public void keyReleased( KeyEvent e ) {
public void keyTyped( KeyEvent e ){
public static void main (String args[])
Runnable r = new Runnable() {
public void run() {
new MazeS().setVisible(true);
SwingUtilities.invokeLater(r);
}

>
it wasn't my idea, ..>No, it was my idea. And while I regret that has caused you some flack, I still feel it was the right decision.
The earlier problem was about paint(), and (as per my inference of the real intent) layouts. Then after that problem was discussed, and (in my opinion) resolved, further questions arose on different topics.
- Listening to events.
- Game (logic) design.
I feel that either of those questions is better represented under a different and more specific title. The title of this thread is good for what the OP (original poster) is trying to achieve.
DB - if you are intent on being irritated with anyone over this thread, please save that irritation for me. I also ask you to consider whether any single project should necessarily be discussed under one single thread.
And to the OP. Please figure out how to use the code tags. ..Please.

Similar Messages

  • What's wrong with the built-in keyboard on my macbook? The caps button does not work rite, no matter what letter button i push they all come out capitals and the number keys when pushed display the special characters instead of the numbers!

    the built-in keyboard on my macbook is not functioning right, the number keys when pushed display the special characters instead of the numbers,
    the caps button doesn't work at all, the letter buttons display capitals when pushed whether the caps button is on or off, the shift keys are also out of whack!!
    It seems it somehow got relocated to the "0" button because if you push and hold the zero button down the keyboard seems to operate normally, the number keys display numbers when pushed the letter keys display lower case when pushed but release the zero button and your back in the twilight zone!! Can anybody help me resolve this issue? one more thing im using an external usb keyboard right now and it seems to function properly if that helps any.

    You would do better in the actual macbook pro forums (this is not).

  • Chinese and Korean characters not displaying in navigation pane

    I have an issue with Chinese and Korean characters not displaying on the tabs in the navigation pane:
    I have 2 RoboHelp projects (using RoboHelp 8 with the updates installed) to generate WebHelp, one in Simplified Chinese, the other Korean. The HTML files, .HHC and .HHK were sent out for translations. I have set the appropriate language in the project settings, everything almost works, except for the text on the Contents, Index, and Search tabs. (I'm not using a skin.) I have read in various threads that the lng file should be edited using the RoboHelp interface, and this seems to be the crux of the problem. The characters do not display correctly through the RoboHelp UI.
    The computer on which I generate the WebHelp is Windows Server 2003, and I do not have the language packs installed. (And am having problems getting hold of the language packs to install to see if this fixes the problem.)
    Aside from installing the language packs, is there anything else I can try to help resolve the problem? (The characters in the content are displaying as expected.)
    Any assistance is greatly appreciated

    Perhaps something in the Translation Info section of this page might help? (The specifics are for Japanese, but I believe the issue would apply to all double-byte languages).
    http://helpware.net/FAR/far_faq.htm#JapComp

  • Japanese and Russian characters are not displayed properly

    I have a pdf file which has both russian and Japanese characters in it. Before I install Japanese font pack, the russian characters were displayed properly but for Japanese characters Junk characters are displayed. But once  I installed Japanese font pack, Japanese fonts are displayed properly, but for Russian characters are displayed as junk characters. Please let us know if can display both font types simultaneously in a document or is there any work around for this ?

    What is your Reader version?
    If Reader X or earlier, did you also install the extended font pack?

  • MS Notepad unable to display the Chinese characters I type and display them as squares

    MS Notepad is unable to display the Chinese characters I type and display them as squares. But when I copy those squares on notepad to Wordpad or MS Word, they display the Chinese characters just fine. I've no idea why those Chinese characters I type can't display properly on notepad. I check the font of the notepad and it's the default. I've another Windows Vista desktop computer which has notepad of the similar setting and display Chinese characters just fine. Both are using Chinese (Simplified) - Microsoft Pinyin New Experience Input Style to input those characters. But I don't understand why my Windows 7 is facing this problem.

    Hi,
    Notepad is a very simple text editor BUT it will work if you use the SAME language in Windows. Please try:
    1. go to control panel, click "Clock, Language, and Region"
    2. click "Change location" under the "Region" section
    3. go to the "administrative" tab, then click "change system locale...", then select "Chinese".
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • OLE Objects are not displayed properly-overlap characters and empty page

    I'm using CR4E 12 Runtime libraries to load and view reports that are created in CR designer  v10. Some of the OLE Objects (not all) are not displayed properly.
    1) A full page contains terms and conditions as ole object is not at all displayed and just shown as black image.
    2) Some data in a table (OLE Object) shown as overlapped characters.
    Any body know the reason and is there any workaround to solve this issue?
    Thankyou very much for your time.

    Your problem seems to be with the character encoding you are using for your text.  A quick google search for ColdFusion character encoding should turn up the answer.  In case you are interested in learning more:
    http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=ColdFusion_Documentation&file=00001201.htm
    Hope that helps!
    - Michael

  • I need a Vietnamese keyboard. Recommendations? A keyboard that officially works with iPad and displays all the characters and their accent marks for typing.

    Where do I find an excellent and reliable Vietnamese keyboard for new iPad? A keyboard that displays all the characters and the accent marks so typing can be easily accomplished. The iPad keyboard selection for Vietnamese really only seems to change the Return key to the Vietnamese language. iPad is sold all over the world....my interest is Viet Nam.....the full keyboard.

    Thanks.....my Vietnamese expert spouse says this tip will work just fine.  I was not aware of the hold down function. Slow typing but accomplishes the objective native on the iPad.
    You are correct.....most Apps that I find seem to be based only on a copy/paste method of input.
    You solved the problem.

  • Display of Chinese Characters in Flash Video

    '''Help needed to resolve issue with display of chinese fonts in Firefox.'''
    I used to be able to run an html based chinese language learning program (with embedded Flash) in Firefox on my Galaxy Nexus mobile...that is until I installed the latest version of Firefox.
    These are the instructions that came with the program to install/run it:
    This site is best viewed with Mozilla FireFox 3.x+ (and above) with either Adobe Flash Player 8+ (and above) at a minimum screen resolution of 1024 x 768. We also recommend that you enable both JavaScript and Cookies in your chosen browser's settings. Obviously things have moved on since then and the version of Firefox I installed around May 2013 would have been around 22.0
    While the above appear to be targeted at computer/tablet platforms the program ran successfully on my mobile and the embedded flash video worked well. The video clips and accompanying audio for each lesson were also accompanied by text that updated as each speaker began conversing. This text could be displayed (by selection) in English, Pinyin or Chinese characters.
    With an upgrade to the latest version of Firefox the Chinese characters now no longer display although 'English' fonts do...why? Is this a character encoding issue? Can this be set? What has changed between version 22 or thereabouts that I installed in May 2013 and the current version. Someone must surely know ??? If this cant be fixed, how can I re-install an older version of Firefox on my mobile. As an aside
    I was able to download firefox-22.0.bundle, some bundle.parts and .source files along with Firefox Setup 3.6.28.exe but cant install any of these. HELP needed please.

    Hello,
    Can you please confirm that this is the summary of the issue you are facing
    #On a site using Flash, and using Firefox 22.0, you were able to view English, Pinyin, Chinese characters on the flash video
    #You upgraded Firefox to the latest version from the play store, and also have the latest Flash version, but the same Flash video doesn't display the Chinese characters now
    #You are looking for the older version of Firefox for Android so that you can confirm that this issue has something to do with the latest version of Firefox
    For the last point, you can download the Android APKs of the older versions from the following links
    #[https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/22.0/android/en-US/ Android APK for Firefox 22.0 in English]
    #[https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/22.0/android-armv6/en-US/ Android APK for Firefox 22.0 in English for Arm V6]
    Please do note that you will need to enable the 'Install from unknown sources' option on the Android device to be able to install this APK. Suggest that you disable the setting after you finish your testing.
    Please confirm the details above and we can help you resolve the issue.
    Thank you

  • Bug with Show Whitespace and tab and space characters in SQL comments

    If Preferences > Code Editor > Display > Show Whitespace Characters is checked, and I type the following in SQL Worksheet:
    --A[tab]B[space]C
    It renders with two spaces between B and C. The first one is a blank space without the light dot character used to signify a space character, and the second space is filled with the dot character. The caret is then blinking before the C instead of after it:
    --A[tab]B[space][dot][|]C
    Further selection actions and editing in the region produce "corrupted" results. I've tried changing fonts, but there was no change to the behavior. Multiple tabs before the B produce multiple blank spaces immediately after it, and when placed at the end of the line the caret is then shown another space to the left of the C:
    --A[tab][tab]B[space][space][|][dot]C
    If I turn off Show Whitespace Characters the rendering immediately corrects, and caret placement, selection action, and editing behaviors all work as expected.
    This is observed on OS X with both the Mac OS X and Oracle/Fusion Blue look and feels.
    Ian
    About
    Oracle SQL Developer 3.0.04
    Version 3.0.04
    Build MAIN-04.34
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.31
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.2.04.34
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_24
    Oracle IDE     3.0.04.34
    Versioning Support     3.0.04.34
    Properties
    Name     Value
    ====     =====
    apple.awt.graphics.UseOpenGL     false
    apple.awt.graphics.UseQuartz     false
    apple.laf.useScreenMenuBar     true
    awt.nativeDoubleBuffering     true
    awt.toolkit     apple.awt.CToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     SQL_Developer
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     MacRoman
    file.encoding.pkg     sun.io
    file.separator     /
    ftp.nonProxyHosts     local|*.local|169.254/16|*.169.254/16
    gopherProxySet     false
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     1309201485440911000
    ide.build     MAIN-04.34
    ide.conf     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
    ide.config_pathname     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     /Users/ibrandt/.sqldeveloper
    ide.product     oracle.sqldeveloper
    ide.splash.screen     splash.gif
    ide.startingcwd     "/Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
    ide.user.dir     /Users/ibrandt/.sqldeveloper
    ide.user.dir.var     IDE_USER_DIR
    ide.vcs.noapplications     true
    ide.work.dir     /Users/ibrandt/sqldeveloper
    ilog.propagatesPropertyEditors     false
    java.awt.graphicsenv     apple.awt.CGraphicsEnvironment
    java.awt.printerjob     apple.awt.CPrinterJob
    java.class.path     ../../ide/lib/ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed
    java.ext.dirs     /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
    java.home     /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    java.io.tmpdir     /var/folders/rq/rqQtue9lEpGAwCKh2hL8MU+++TM/-Tmp-/
    java.library.path     .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.protocol.handler.pkgs     oracle.jdevimpl.handler
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_24-b07-334-10M3326
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Apple Inc.
    java.vendor.url     http://www.apple.com/
    java.vendor.url.bug     http://bugreport.apple.com/
    java.version     1.6.0_24
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Apple Inc.
    java.vm.version     19.1-b02-334
    jdbc.library     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc6.jar
    line.separator     \n
    log.file.name     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
    mrj.build     10M3326
    mrj.version     1060.1.6.0_24-334
    oracle.home     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.mapDateToTimestamp     false
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
    os.arch     x86_64
    os.name     Mac OS X
    os.version     10.6.8
    path.separator     :
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    socksNonProxyHosts     local|*.local|169.254/16|*.169.254/16
    sqldev.debug     false
    sun.arch.data.model     64
    sun.awt.exception.handler     apple.awt.CToolkit$EventQueueExceptionHandler
    sun.boot.class.path     ../../rdbms/jlib/ojdi.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:
    /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
    sun.boot.library.path     /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.io.unicode.encoding     UnicodeLittle
    sun.java.launcher     SUN_STANDARD
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     MacRoman
    sun.management.compiler     HotSpot 64-Bit Server Compiler
    sun.os.patch.level     unknown
    svnkit.sax.useDefault     true
    user.country     US
    user.dir     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
    user.home     /Users/ibrandt
    user.language     en
    user.name     ibrandt
    user.timezone     America/Los_Angeles
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.4.37.59.31     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.4.37.59.31     Loaded
    Component Palette     oracle.ide.palette1     11.1.1.4.37.59.31     Loaded
    Data Miner     oracle.dmt.dataminer     11.2.0.1.10.109     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.4.37.59.31     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.4.37.59.31     Loaded
    Database UI     oracle.ide.db     11.1.1.4.37.59.31     Loaded
    Diagram Framework     oracle.diagram     11.1.1.4.37.59.31     Loaded
    Diagram Javadoc Extension     oracle.diagram.javadoc     11.1.1.4.37.59.31     Loaded
    Diagram Thumbnail     oracle.diagram.thumbnail     11.1.1.4.37.59.31     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.4.37.59.31     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.4.37.59.31     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.4.37.59.31     Loaded
    File Support     oracle.ide.files     11.1.1.4.37.59.31     Loaded
    Help System     oracle.ide.help     11.1.1.4.37.59.31     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.4.37.59.31     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.4.37.59.31     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.4.37.59.31     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.4.37.59.31     Loaded
    JViews Registration Addin     oracle.diagram.registration     11.1.1.4.37.59.31     Loaded
    Log Window     oracle.ide.log     11.1.1.4.37.59.31     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.4.37.59.31     Loaded
    Navigator     oracle.ide.navigator     11.1.1.4.37.59.31     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.4.37.59.31     Loaded
    Oracle IDE     oracle.ide     11.1.1.4.37.59.31     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.2.04.34     Loaded
    Oracle SQL Developer - 3rd Party Database Browsers     oracle.sqldeveloper.thirdparty.browsers     11.1.1.04.34     Loaded
    Oracle SQL Developer - DBA Navigator     oracle.sqldeveloper.dbanavigator     11.1.1.04.34     Loaded
    Oracle SQL Developer - Extras     oracle.sqldeveloper.extras     1.1.1.04.34     Loaded
    Oracle SQL Developer - File Navigator     oracle.sqldeveloper.filenavigator     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Antlr3 Translator     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Application Migration     oracle.sqldeveloper.migration.application     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Core     oracle.sqldeveloper.migration     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations DB2     oracle.sqldeveloper.migration.db2     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations DB2 Translator     oracle.sqldeveloper.migration.translation.db2     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Microsoft SQL Server     oracle.sqldeveloper.migration.sqlserver     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Sybase Adaptive Server     oracle.sqldeveloper.migration.sybase     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations T-SQL Translator     oracle.sqldeveloper.migration.translation.core     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.04.34     Loaded
    Oracle SQL Developer - Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.04.34     Loaded
    Oracle SQL Developer - Real Time SQL Monitoring     oracle.sqldeveloper.sqlmonitor     11.1.1.04.34     Loaded
    Oracle SQL Developer - Reports     oracle.sqldeveloper.report     11.1.1.04.34     Loaded
    Oracle SQL Developer - Scheduler     oracle.sqldeveloper.scheduler     11.1.1.04.34     Loaded
    Oracle SQL Developer - Schema Browser     oracle.sqldeveloper.schemabrowser     11.1.1.04.34     Loaded
    Oracle SQL Developer - SearchBar     oracle.sqldeveloper.searchbar     11.1.1.04.34     Loaded
    Oracle SQL Developer - Snippet     oracle.sqldeveloper.snippet     11.1.1.04.34     Loaded
    Oracle SQL Developer - Spatial     oracle.sqldeveloper.spatial     11.1.1.04.34     Loaded
    Oracle SQL Developer - TimesTen     oracle.sqldeveloper.timesten     2.0.0.04.34     Loaded
    Oracle SQL Developer - Tuning     oracle.sqldeveloper.tuning     11.1.1.04.34     Loaded
    Oracle SQL Developer - Unit Test     oracle.sqldeveloper.unit_test     11.1.1.04.34     Loaded
    Oracle SQL Developer - User Extensions Support     oracle.sqldeveloper.userextensions     11.1.1.04.34     Loaded
    Oracle SQL Developer - Worksheet v2     oracle.sqldeveloper.worksheet     11.1.1.04.34     Loaded
    Oracle SQL Developer - XML Schema     oracle.sqldeveloper.xmlschema     11.1.1.04.34     Loaded
    Oracle SQL Developer Data Modeler     oracle.datamodeler     3.0.0.665.2     Loaded
    Oracle SQL Developer Data Modeler - Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.04.34     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.4.37.59.31     Loaded
    Peek     oracle.ide.peek     11.1.1.4.37.59.31     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.4.37.59.31     Loaded
    Property Inspector     oracle.ide.inspector     11.1.1.4.37.59.31     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.4.37.59.31     Loaded
    Replace With     oracle.ide.replace     11.1.1.4.37.59.31     Loaded
    Runner     oracle.ide.runner     11.1.1.4.37.59.31     Loaded
    VHV     oracle.ide.vhv     11.1.1.4.37.59.31     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.4.37.59.31     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.4.37.59.31     Loaded
    Virtual File System     oracle.ide.vfs     11.1.1.4.37.59.31     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.4.37.59.31     Loaded
    XML Editing Framework IDE Extension     oracle.ide.xmlef     11.1.1.4.37.59.31     Loaded
    audit     oracle.ide.audit     11.1.1.4.37.59.31     Loaded
    classpath: protocol handler extension     oracle.jdeveloper.classpath     11.1.1.0.0     Loaded
    jdukshare     oracle.bm.jdukshare     11.1.1.4.37.59.31     Loaded
    mof-xmi     oracle.mof.xmi     11.1.1.4.37.59.31     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.4.37.59.31     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.4.37.59.31     Loaded
    palette2     oracle.ide.palette2     11.1.1.4.37.59.31     Loaded
    status     oracle.ide.status     11.1.1.4.37.59.31     Loaded

    are you using an "Expert Mode" query or not?
    With normal mode, the query is stored in an XML attribute.
    With expert mode, it's stored in a CDATA Section, which allows it to respect all user-spacing and newlines.
    XML attribute values are forced by the XML 1.0 spec to be normalized, and this is done by the parser when they are read in. That might account for your different in space treatment.

  • Can I put Chinese and English characters in the same dynamic text box?

    I'm translating a game into several different languages, one of which is Chinese. I've noticed that in a dynamic text box where English characters are included also, they aren't displayed when the .swf is exported. The font is embedded in the document with all characters selected. It seems like whatever language-character is first displayed in the text box, the other language cannot be. For instance, if there are Chinese characters first, then English, the English will not display, and vice-versa. Any work around on this? I am using Flash CS5 and Actionscript 2.0. Thanks!

    Kglad - I'm not sure I follow your instructions for the fix. I assume you want me to set the _visible property to false via Actionscript ( textInvisible._visible = false; ). What is the purpose of this second text field - does it need any specific content in it to function? It doesn't seem to work to fix the problem but maybe I'm misunderstanding.

  • Display non-english characters

    Hi,
    How can i display Japanese, Chinese characters in a java application or applet? do i need some special tools?
    Thanks,
    eileen

    Since Java supports unicode you don't need special
    tools only a font which is able to display japanese or
    Chinese charaters. For Windows:
    http://www.hclrss.demon.co.uk/unicode/fonts.html
    You can display a unicode char with /uXXXX have a look
    at
    http://www.unicode.org/charts/
    Or you already got a file with unicode characters....
    have funThanks for your help.
    But how can i put something down by checking that Unicode table from time to time? That's almost impossible...
    suppose i've put some Japanese characters into a file, what type of file should i save it as? save it as a html file or something else?
    and if i want the context of a label to be "xxxxx"(in Chinese), what should i do? JLabel label = new JLabel("???") how can i put some chinese characters to replace "???" ?
    and how can i input Japanese/chinese characters under Mandrake?
    Thank you very much,
    eileen2

  • SQL Loader and foreign characters in the data file problem

    Hello,
    I have run into an issue which I can't find an answer for. When I run SQL Loader, one of my control files is used to get file content (LOBFILE) and one of the fields in the data file has a path to that file. The control file looks like:
    LOAD DATA
    INFILE 'PLACE_HOLDER.dat'
    INTO TABLE iceberg.rpt_document_core APPEND
    FIELDS TERMINATED BY ','
    doc_core_id "iceberg.seq_rpt_document_core.nextval",
    -- created_date POSITION(1) date "yyyy-mm-dd:hh24:mi:ss",
    created_date date "yyyy-mm-dd:hh24:mi:ss",
    document_size,
    hash,
    body_format,
    is_generic_doc,
    is_legacy_doc,
    external_filename FILLER char(275) ENCLOSED by '"',
    body LOBFILE(external_filename) terminated by EOF
    A sample data file looks like:
    0,2012-10-22:10:09:35,21,BB51344DD2127002118E286A197ECD4A,text,N,N,"E:\tmp\misc_files\index_testers\foreign\شیمیایی.txt"
    0,2012-10-22:10:09:35,17,CF85BE76B1E20704180534E19D363CF8,text,N,N,"E:\tmp\misc_files\index_testers\foreign\ลอบวางระเบิด.txt"
    0,2012-10-22:10:09:35,23552,47DB382558D69F170227AA18179FD0F0,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\leesburgis_á_ñ_é_í_ó_ú_¿_¡_ü_99.doc"
    0,2012-10-22:10:09:35,17,83FCA0377445B60CE422DE8994900A79,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\làm thế nào bạn làm ngày hôm nay"
    The problem is that whan I run this, SQL Loader throws an error that it can't find the file. It appears that it can't interpret the foreign characters in a way that allows it to find that path. I have tried adding a CHARACTERSET (using AL32UTF8 or UTF8) value in the control file but that only has some success with Western languages, not the ones listed above. Also, there is no set of defined languages that could be found in the data file. It essentaially could be any language.
    Does anyone know if there is a way to somehow get SQL Loader to "understand" the file system paths when a folder and/or file name could be in some other langauge?
    Thanks for any thoughts - Peter

    Thanks for the reply Harry. If I try to open the file in various text editors like Wordpad, Notepad, GVIM, andTextpad, they all display the foreign characters differently. Only Notepad comes close to displaying the characters properly. I have a C# app that will read the file and display the contents and it renders it fine. If you look at the directory of files in Windows Explorer, they all are displayed properly. So it seems things like .Net and Windows have some mechanism to understand the characters in order to render them properly. Other applications, again like Wordpad, do not know how to render them properly. It would seem that whatever SQL Loader is using to "read" the data files also is not rendering the characters properly which prevents it from finding the directory path to the file. If I add "CHARACTERSET AL32UTF8" in the control file, all is fine when dealing with Western langauges (ex, German, Spanish) but not for the Eastern languages (ex. Thai, Chinese). So .... telling SQL Loader to use a characterset seems to work, but not in all cases. The AL32UTF8 is the characterset that the Oracle database was created with. I have not had any luck if I try to set the CHARACTERSET to whatever the Thai character set is, for example. There problem there though is that even if that did work, I can't target specific lagauages because the data could come from anywhere. It's like I need some sort of global "super set" characterset to use. It seems like the CHARACTERSET is the right track to follow but I am not sure, and even if it is, is there a way to handle all languages.
    Thanks - Peter

  • Using my macbook alternately with cinema display and without makes all my screens shift and change in size ?!

    After I disconnect from the cinema display and than a few minutes later open up the macbook without the display connected, things are fine. But re-connecting to the display, all the screens are moved and/or changed in size. Anybody any ideas ?

    I'm currently sitting in my office using my MBP and looking at a 24" Samsung display. At home I replaced my 4 year old iMac with a 2 year old 13" MBP which is connected to a similar display. That should be tell you all you need to know! 

  • When connecting to an external projector, an old photo is displayed and does not update

    When connecting to an external projector, an old image is displayed and will not update.   I am working on a 2009 Mac Book Pro.

    This is the Mac Pro desktop forum. I requested your post be moved to the MacBook Pro laptop forum.

  • Is it possible the current Mac Mini 2.7 Ghz i7 with two full-resolution displays and Thunderbolt operate?

    Hello,
    Is it possible the current Mac Mini 2.7 Ghz i7 with two full-resolution displays and Thunderbolt operate?
    Thanxs for your answers.
    Gerald

    On Second thoughts...
    I don't really know how well Logic Express 7 performs on the Mac Mini because I have not yet had the chance to experience the two together. Don't let that put you off the idea though! From my understanding of the system requirements printed on the Logic Express homepage, it states that a G4 or faster system is required, however Apple personally recommend a Dual G4 or G5 is recommended alongside a minimum of 512MB of Ram. This Does mean that Logic Express will run on the Mac Mini but you will most probably find it lags when moving samples in real time and rendering them onto your hard drive. If you really want to enjoy making "serious" music on the Mac then you really need to be looking at the iMac G5 or the iMac Core Duo (Intel) purely for your tempers sake. As for an Intel Mac Mini, there is no indication as to when we will be seeing one on the market and therefore you may find yourself on the fence between keeping your fixed budget and holding on a little or jumping in and getting on the right road to a digital musical life - mac style.
    Maybe this will inspire your decision:
    http://www.engadget.com/2005/02/08/how-to-turn-your-mac-mini-into-a-low-cost-rec ording-studio/
    Hope this helps
    -Pos

Maybe you are looking for