Questions tagged as 'eclipse'

0
answers

Change the text style of a textarea with StyledEditorKit

I have a JMenuBar with a menu that has a button that should change the selected text to negritam but it does not work ... I do not know how to make the JTextArea know that I want to change the style of the source this is the code cla...
asked by 24.10.2017 / 00:05
1
answer

Syntax error, insert "Dimensions" to complete ReferenceType

import java.util.Scanner; public class ModosNormales { public static void main(String[] ar) { Scanner teclado=new Scanner(System.in); int nx,ny,c,n; float lx; float ly; float fn; c=172;...
asked by 10.10.2017 / 01:08
1
answer

error configure project in eclipse with Jboss, gives the following error when I debug

   Deployment "WebServer" is in error due to the following reason (s):   LifecycleException: Protocol handler initialization failed:   java.net.BindException: Address already in use: JVM_Bind   localhost / 127.0.0.1: 8080, ERROR Deployment   "...
asked by 23.10.2017 / 16:21
1
answer

StackOverflowError in Eclipse Oxygen using Swing

I have this error when I run the interface    Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError     at java.awt.Window.init (Unknown Source) at   java.awt.Window. (Unknown Source) at   java.awt.Frame. (Unknown Source) at   j...
asked by 12.10.2017 / 05:43
0
answers

Do not start java project in Jboss

17: 14: 02,489 INFO [AbstractJBossASServerBase] Server Configuration: JBOSS_HOME URL: file:/C:/Users/Administrator/jboss-6.1.0.Final/ Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml Common Base: $JBOSS_HOME\common/ Common Library: $JB...
asked by 25.10.2017 / 09:22
0
answers

Buttons that do not appear and are duplicated

Hi, I'm trying to do a java project, in which I try to create some buttons on top of an image, using a paintComponent on a JPanel, but when I add the buttons to the JPanel and run the program, the buttons do not appear, (in a first time) but whe...
asked by 29.09.2017 / 19:20
0
answers

Question about discounts in java

I have the following statement:    Design and implement the following    program: - Decide (use constants):       ● What is the minimum value to qualify for the discount? ● How much   will discount what is the maximum possible value ● - Ask...
asked by 28.09.2017 / 09:49
2
answers

Error 500 in a very simple servlet

I'm starting with j2ee and well I started with a very simple servlet, but whenever I try to execute it I get an error 500, a CLassNotFoundException exception of the LoginServlet servlet class in this case and looking in the project I can not fin...
asked by 11.09.2017 / 13:13
0
answers

Place in the pom.xml of a local project java maven the reference of a project created in Gitlab

Best regards community. A query, I'm trying to place the reference of a project that is in GitLab to my local project (which is using java and maven with the IDE Eclipse Mars). I want to import it as a library in the pom.xml offered by the maven...
asked by 08.09.2017 / 08:41
0
answers

Error spring mvc and tomcat

I'm trying to learn java with spring mvc in neon eclipse, with tomcat 8. I have this only controller for now: package com.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Con...
asked by 07.09.2017 / 16:43