Questions tagged [textpad]

TextPad is a general-purpose text editor.

TextPad is a general-purpose text editor for Microsoft Windows, published by Helios Software Solutions.

146 questions
-1
votes
3 answers

Why is this causing a runtime error? (finding word count of a string using HashMap)

import java.util.HashMap; import java.util.Iterator; class L6ex1pt2 { String line = "When I was there, it was there"; //works for Strings with all unique words //but not for Strings with…
sgkduffi
  • 1
  • 1
-1
votes
1 answer

How can I play audio in java with command line interface?

I have been searching for how to play audio in java ( textpad ). There are plenty of examples but they use a GUI. I am using a command line interface. How do I play audio and use key event e.g spacebar to pause the audio and press spacebar again to…
-1
votes
1 answer

TextPad - regular expression - How to find longer value (character) than

Please how to find longer value with "regular expression" in the TextPad application? Thanks a lot Libi
bulllock
  • 1
  • 1
-1
votes
2 answers

Find the last occurence of a needle in a haystack

In Textpad, is it possible to find the last occurence of a string within a string, so, for instance... Find the last occurrence of _ within FF_SF_FIRE_STRATEGY_G So that you can then obtain either FF_SF_FIRE_STRATEGY or G ? UPDATE: This solves half…
Strawberry
  • 33,750
  • 13
  • 40
  • 57
-1
votes
1 answer

"Gedcom file - How to split names and eliminating double places."

I have two questions - both related to my gedcom-file for my genealogical tree (I use both notepad++ and textpad): 1.) I have around 1000 people, who have De, La, Le, Van, Von, etc., as part of their Surname (in the beginning of it), and I would…
-1
votes
1 answer

Error: incompatible types?

Can someone tell me why I'm getting an error called incompatible types? This is the full error: PayrollTest.java:26: error: incompatible types: possible lossy conversion from double to int. 01: import java.util.Scanner; 02: 03: public class…
-1
votes
1 answer

Textpad Regular expressions: Find and remove everything between < >

I am trying to use textpad to remove all XML so I am left with the text. If I can remove everything that falls between a < and a > then I can do it. What is the expression what I need to use in the "Find What" box in the find and replace function…
Kevin
  • 318
  • 2
  • 6
  • 25
-1
votes
2 answers

Trouble with reading user input in Textpad

I am coding in Java on Textpad on a Windows 8. When the program runs and the user enters their input, as soon as the user enters his input, it says Interrupted! Tool completed with exit code 130. Have not been able to figure out the problem and…
Storm
  • 1
-1
votes
2 answers

Java class won't work outside eclipse

My program runs fine under eclipse. If I open it with the textPad and compile it, I get this message: Note: C:\Users\Aezur\Desktop\Project2\SummerQ1.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. It…
Aezur
  • 331
  • 2
  • 8
-3
votes
1 answer

subtraction problems are never negative c++

Subtraction Problems - Both operands should be random numbers in the range, 1 to 999, inclusive - But the second operand, (the number being subtracted from the top number) should be less than or equal to the first operand This ensures that the…
mike
  • 11
  • 2
-3
votes
1 answer

Calculate BMI in Textpad using Java

I'm supposed to design a program in TextPad to calculate BMI. I can't get the program to calculate the bmi using the formula. This is my code. import java.util.Scanner; public class BmiCalculator { public static void main(String[] args) { …
1 2 3
9
10