Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: jmenu&jframe problem

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default jmenu&jframe problem

    hi,
    i have two problems with out exceptions :
    1. when i run the code the shape that i create coen on my menu bar if i draw them near by...
    2. when i draw shape near the menu and open the menu he erase from the screen some of the shape and after i do something else the shape come back...
    if you want i can send you need the zip code/jar file i can send you but you understand i guess what i mean...
    thanks for everyone who help me


    the shortest code that i can give...
    i need that you tell me why the jmenu is in the same focus of th content pane and how i can manage that when i press the jmenu the menu don't erase me the circle...

    beside of that why when i draw a circle it come on my menu how i can separate between them?

    i add the code (the problem is in myframe,and i add also jar file so you can see the problem )

    thank's beni...
    Attached Files Attached Files


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,327
    Thanks
    181
    Thanked 828 Times in 771 Posts
    Blog Entries
    5

    Default Re: jmenu&jframe problem

    First, please do not post the same question twice to the forums. Your other post has been removed. Second, I recommend posting the code directly into your post (surrounded by the [highlight=java][/highlight] tags), which will make it easier to view the code (many responders will not download an attachment)

Similar Threads

  1. JMenu and JComboBox
    By javapenguin in forum AWT / Java Swing
    Replies: 1
    Last Post: July 3rd, 2010, 05:00 PM
  2. Java Gif image problem in JFrame
    By Zachary Wins in forum What's Wrong With My Code?
    Replies: 0
    Last Post: May 23rd, 2010, 08:51 PM
  3. Problem with a JFrame method
    By Lakmini Kuruppu in forum AWT / Java Swing
    Replies: 1
    Last Post: May 20th, 2010, 08:40 AM
  4. Change JFrame components problem
    By bruno88 in forum AWT / Java Swing
    Replies: 0
    Last Post: June 30th, 2009, 01:25 PM