Tag Archives: eclipse

No full screen display output from my code on eclipse JDK 8 [on hold]

Questions: Explanation Hello, I need an explanation on how I can’t get a fullscreen display output. Also, I run eclipse JDK 8. I created two separate Java classes, here is my code: import java.awt.*; import javax.swing.JFrame; public class Screen { private GraphicsDevice vc; public Screen() { GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment(); vc = env.getDefaultScreenDevice(); } public… Read More »

Get not passing in Eclipse java API

Questions: As mentioned above, I can’t seem to get the GET API call to pass through and gather a list of all the interest rates in the business manager. I’ll talk you though it all best I can. This is the actual GET that should start the call. public class InterestResource { @GET @Path(“/”) @Produces(MediaType.APPLICATION_JSON)… Read More »

Eclipse Market place – UML designer – installation error

Questions: Getting below error while I try to install UML Designer plugin from eclipse market place. Unable to read repository at https://s3-eu-west-1.amazonaws.com/obeo-networkaggregation-releases/sirius_5_1/content.xml. Unable to make member of class sun.security.ssl.SSLSocketImpl accessible: module java.base does not export sun.security.ssl to unnamed module @6e454ac Is it Bad link in marketplace, or java installation of my machine? Answers:

Eclipse IDE —>PDFBox

Questions: Can anyone tell me why the following parser fails to extract the text? file = new File(filePath); parser = new PDFParser(new RandomAccessFile(file,”r”)); // update for PDFBox V 2.0 parser.parse(); cosDoc = parser.getDocument(); pdfStripper = new PDFTextStripper(); pdDoc = new PDDocument(cosDoc); pdDoc.getNumberOfPages(); pdfStripper.setStartPage(a); pdfStripper.setEndPage(pdDoc.getNumberOfPages()); System.out.println(pdDoc.getNumberOfPages()); Text=pdfStripper.getText(pdDoc); The console is looping the same output: 18:29:34.147 [main]… Read More »